Tester routing activation request to an internal vehicle network.  
 More...
#include <routing_activation_request.h>
 | 
| void  | GetPayload (std::vector< uint8_t > &payload) const override | 
|   | Get message payload.  More...
  | 
|   | 
| virtual bool  | TrySetPayload (const std::vector< uint8_t > &payload, uint32_t payloadLength) override | 
|   | Try to set message payload.  More...
  | 
|   | 
|   | Message (PayloadType payloadType) noexcept | 
|   | Constructor.  More...
  | 
|   | 
|   | Message (uint8_t protocolVersion, PayloadType payloadType) noexcept | 
|   | Constructor.  More...
  | 
|   | 
 | 
| static bool  | TryExtractPayloadType (const std::vector< uint8_t > &serializedMessage, PayloadType &payloadType) | 
|   | Try to extract the payload type from the given serialized message.  More...
  | 
|   | 
| 
static const std::size_t  | cHeaderSize {8} | 
|   | DoIP message header size. 
  | 
|   | 
Tester routing activation request to an internal vehicle network. 
 
◆ RoutingActivationRequest() [1/2]
  
  
      
        
          | DoipLib::RoutingActivationRequest::RoutingActivationRequest  | 
          ( | 
          uint8_t  | 
          protocolVersion,  | 
         
        
           | 
           | 
          uint16_t  | 
          sourceAddress,  | 
         
        
           | 
           | 
          uint8_t  | 
          activationType  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
noexcept   | 
  
 
Constructor without OEM-specific data. 
- Parameters
 - 
  
    | protocolVersion | DoIP ISO protocol version  | 
    | sourceAddress | External tester logical address  | 
    | activationType | Routing activation type  | 
  
   
 
 
◆ RoutingActivationRequest() [2/2]
  
  
      
        
          | DoipLib::RoutingActivationRequest::RoutingActivationRequest  | 
          ( | 
          uint8_t  | 
          protocolVersion,  | 
         
        
           | 
           | 
          uint16_t  | 
          sourceAddress,  | 
         
        
           | 
           | 
          uint8_t  | 
          activationType,  | 
         
        
           | 
           | 
          uint32_t  | 
          oemSpecificData  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
noexcept   | 
  
 
Constructor using OEM-specific data. 
- Parameters
 - 
  
    | protocolVersion | DoIP ISO protocol version  | 
    | sourceAddress | External tester logical address  | 
    | activationType | Routing activation type  | 
    | oemSpecificData | OEM-specific request data  | 
  
   
 
 
◆ GetActivationType()
  
  
      
        
          | uint8_t DoipLib::RoutingActivationRequest::GetActivationType  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
noexcept   | 
  
 
Get activation type. 
- Returns
 - Routing activation type 
 
 
 
◆ GetPayload()
  
  
      
        
          | void DoipLib::RoutingActivationRequest::GetPayload  | 
          ( | 
          std::vector< uint8_t > &  | 
          payload | ) | 
           const | 
         
       
   | 
  
overrideprotectedvirtual   | 
  
 
Get message payload. 
- Parameters
 - 
  
    | [out] | payload | Payload byte array  | 
  
   
Implements DoipLib::Message.
 
 
◆ GetSourceAddress()
  
  
      
        
          | uint16_t DoipLib::RoutingActivationRequest::GetSourceAddress  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
noexcept   | 
  
 
Get request source address. 
- Returns
 - External tester logical address 
 
 
 
◆ TryGetOemSpecificData()
  
  
      
        
          | bool DoipLib::RoutingActivationRequest::TryGetOemSpecificData  | 
          ( | 
          uint32_t &  | 
          oemSpecificData | ) | 
           const | 
         
       
   | 
  
noexcept   | 
  
 
Try to get the OEM-specific data. 
- Parameters
 - 
  
    | [out] | oemSpecificData | OEM-specific request data  | 
  
   
- Returns
 - True if the data is available, otherwise false 
 
 
 
◆ TrySetPayload()
  
  
      
        
          | virtual bool DoipLib::RoutingActivationRequest::TrySetPayload  | 
          ( | 
          const std::vector< uint8_t > &  | 
          payload,  | 
         
        
           | 
           | 
          uint32_t  | 
          payloadLength  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
overrideprotectedvirtual   | 
  
 
Try to set message payload. 
- Parameters
 - 
  
    | [in] | payload | Payload byte array  | 
    | [in] | payloadLength | Payload length from the message header  | 
  
   
- Returns
 - True if the payload is set successfully, otherwise false 
 
Implements DoipLib::Message.