AREthGetProtocol
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
This function returns the protocol (UDP/TCP) the SOME/IP message was transmitted with.Parameters
- messageHandle: Handle of the received SOME/IP message. Note: This function can only be called within the OnAREthMessage callback function.
Return Values
- Protocol:
0: An error occurred. The error can be evaluated using the AREthGetLastError function.6: TCP17: UDP
Example
- AREthFillValues
- AREthGetDestinationAddress
- AREthGetDestinationPort
- AREthGetInterfaceVersion
- AREthGetLength
- AREthGetMessageId
- AREthGetMessageType
- AREthGetProtocol
- AREthGetProtocolVersion
- AREthGetRequestId
- AREthGetReturnCode
- AREthGetSourceAddress
- AREthGetSourcePort
- AREthGetValue…
- AREthGetValueDWord
- AREthGetValueFloat
- AREthGetValueInt64
- AREthGetValueLong
- AREthGetValuePhys
- AREthGetValueQWord
- AREthGetValueString
- AREthSetRequestId
- AREthSetReturnCode
- AREthSetValue…
- AREthSetValueDWord
- AREthSetValueFloat
- AREthSetValueInt64
- AREthSetValueLong
- AREthSetValuePhys
- AREthSetValueQWord
- AREthSetValueString
- Syntax for Database-based Access Paths
- Syntax for Predefined Service Discovery (SD) Access Paths