SOME/IP报文格式-Return Code

在这里插入图片描述
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
0x81ERRORShall 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。
  • 1
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值