soemip7

Return Code [8 Bit]
 
The Return Code is used to signal whether a request was successfully been processed. For simplification of the header layout, every message transports the field Return Code.
Return Code用于表示request是否已成功处理。 为了简化header布局,每条消息都传输Return代码。
Messages of Type REQUEST, REQUEST_NO_RETURN, and Notification have to set the Return Code to 0x00 (E_OK). The allowed Return Codes for specific message types are:
类型为REQUEST, REQUEST_NO_RETURN和Notification的消息必须将返回码设置为0x00(E_OK)。 允许的特定消息类型的返回码是:
NumberValueReturn code
0x00REQUEST0x00 (E_OK) 
0x01REQUEST_NO_RETURN0x00 (E_OK) 
0x02NOTIFICATION0x00 (E_OK) 
0x40REQUEST_ACK 
0x41REQUEST_NO_RETURN_ACK 
0x42NOTIFICATION_ACK 
0x80RESPONSE 
0x81ERROR Shall not be 0x00 (E_OK).
0xC0RESPONSE_ACK 
0xC1ERROR_ACK 
IDNameDescription
0x00E_OKNo error occurred
0x01E_NOT_OKAn unspecified error occurred
0x02E_UNKNOWN_SERVICEThe requested Service ID is unknown.
0x03E_UNKNOWN_METHODThe requested Method ID is unknown. Service ID is known.
0x04E_NOT_READYService ID and Method ID are known. Application not running.
0x05E_NOT_REACHABLESystem running the service is not reachable (internal error code only).
0x06E_TIMEOUTA timeout occurred (internal error code only).
0x07E_WRONG_PROTOCOL_ VERSIONVersion of SOME/IP protocol not supported
0x08E_WRONG_INTERFACE_ VERSIONInterface version mismatch
0x09E_MALFORMED_MESSAGEDeserialization error, so that payload cannot be deserialized.
0x0aE_WRONG_MESSAGE_TYPEAn unexpected message type was received (e.g. REQUEST_NO_RETURN for a method defined as REQUEST.)
0x0b – 0x1fRESERVEDReserved for generic SOME/IP errors. These errors will be specified in future versions of this document.
0x20 – 0x3fRESERVEDReservedforspecificerrorsofservicesand methods. These errors are specified by the interface specification.
Note注意:
The Return Code is is not applicable for SOME/IP-SD.
Return Code不适用于SOME / IP-SD。
posted @ 2022-07-21 16:10  palette66  阅读(36)  评论(0)    收藏  举报