SomeIpGetReturnCode
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
This function returns the Return Code from the SOME/IP message header.Parameters
- messageHandle: Handle of the SOME/IP message (e.g. see OnSomeIpMessage)
Return Values
- Return code:
- 0x00: E_OK
- 0x01: E_NOT_OK
- 0x02: E_UNKNOWN_SERVICE
- 0x03: E_UNKNOWN_METHOD
- 0x04: E_NOT_READY
- 0x05: E_NOT_REACHABLE
- 0x06: E_TIMEOUT
- 0x07: E_WRONG_PROTOCOL_VERSION
- 0x08: E_WRONG_INTERFACE_VERSION
- 0x09: E_MALFORMED_MESSAGE
- 0x09: 0x1F RESERVED
Example
- SomeIpFillValues
- SomeIpGetDestinationAddress
- SomeIpGetDestinationPort
- SomeIpGetInterfaceVersion
- SomeIpGetLength
- SomeIpGetMessageId
- SomeIpGetMessageType
- SomeIpGetProtocol
- SomeIpGetProtocolVersion
- SomeIpGetRequestId
- SomeIpGetReturnCode
- SomeIpGetSourceAddress
- SomeIpGetSourcePort
- SomeIpGetValue…
- SomeIpGetValueDWord
- SomeIpGetValueFloat
- SomeIpGetValueInt64
- SomeIpGetValueLong
- SomeIpGetValuePhys
- SomeIpGetValueQWord
- SomeIpGetValueString
- SomeIpRemoveValue
- SomeIpSetRequestId
- SomeIpSetReturnCode
- SomeIpSetValue…
- SomeIpSetValueDWord
- SomeIpSetValueFloat
- SomeIpSetValueInt64
- SomeIpSetValueLong
- SomeIpSetValuePhys
- SomeIpSetValueQWord
- SomeIpSetValueString
- Syntax for Database-based Access Paths
- Syntax for Predefined Service Discovery (SD) Access Paths