这一部分在平时工作中几乎没有遇到过,所以只是解读协议文档,没有例子。
错误处理可以在应用层完成,也可以在通信层完成。因此SOME/IP支持两种不同的机制
• Return Codes in the Response Messages of methods
在method通信中,Response消息中返回错误码(此时MessageType =0x80)
• Explicit Error Messages
具体的错误消息(此时MessageType =0x81)。
错误码如下表

错误处理逻辑如下