16Jan 2020

Entry Format Type Two types of Entries exist: Type 1 Entries for Services and Type 2 Entries for Eventgroups. Type field of the Entry: Layout of Type 1 Entries (Entries for Service):0x00:FindService0x01:OfferService和StopOfferService Layout of Type 2 Entries ( Entries for Eventgroups)0x06:SubscribeEventgroup和StopSubscribeEventgroup0x07:SubscribeEventgroupAck和SubscribeEventgroupNack Entry Format If the number of options is set to zero, the option run […]

15Jan 2020

Entries Array When SOME/IP-SD find or offers Service Instances or handles subscriptions this is done by so called entries, which are transported in the entry array of the SOME/IP-SD message.当SOME / IP-SD寻找或提供服务实例或处理订阅时,这由所谓的entry完成,entry在SOME / IP-SD 报文的entry数组中传输。 Length of Entries Array The length of the first field of the Entries Array shall be 32 bits. Entries Array的第一个字段的长度应为32位。 […]

15Jan 2020

Reserved field [24 Bit] The length of the Reserved field shall be 24 bits. 保留字段的长度应为24位。 This Reserved field is not currently used and left empty for further enhancements of the SOME/IP-SD protocol. 此保留字段当前未被使用并留空以进一步增强SOME / IP-SD协议。 All bits of the Reserved field shall be statically set to 0 binary. 保留字段的所有位应静态设置为0。

15Jan 2020

Flags [8 Bit] The length of the Flags field shall be 8 bits. Flag字段的长度应为8位。 With the Flags field the SOME/IP-SD header starts. It is used to signal global Service Discovery information, which includes currently the state of the last reboot as well as the capability of receiving unicast messages. SOME / IP-SD Header开始便是Flags字段。它用于标识全局Service Discovery信息,其中包括当前最后一次重新启动的状态以及接收单播消息的能力。 Undefined […]

15Jan 2020

Message Type [8 Bit] The length of the Message Type field shall be 8 bits. 消息类型字段的长度应为8位。 The Message Type field is used to differentiate the types of SOME/IP messages. SOME/IP-SD uses only event messages; thus, it always uses the same type.消息类型字段用于区分SOME / IP消息的类型。 SOME / IP-SD仅使用event消息; 因此,它总是使用相同的类型。 The value for the Message Type field shall […]

15Jan 2020

Protocol Version [8 Bit] The length of the Protocol Version field shall be 8 bits. 协议版本字段的长度应为8位。 The Protocol Version field is used to describe the current version of SOME/IP. 协议版本字段用于描述SOME / IP的当前版本。 The value for the Protocol Version field shall be statically set to 0x01. 协议版本字段的值应静态设置为0x01 Interface Version [8 Bit] The length of the Interface […]

13Jan 2020

Request ID [32 Bit] The Request ID field shall consist of a Client ID field [16 bits] and a Session ID field [16 bits]. Request ID 字段应由Client ID字段[16位]和Session ID 字段[16位]组成。 The Client ID is not used for Service Discovery, The Client ID shall be set statically to 0x0000. Client ID不用于Service Discovery ,Client ID 应静态设置为0x0000。 The […]

10Jan 2020

Application based Error Handling The application can easily implement “at least once” reliability by using idempotent operations (i.e. operation that can be executed multiple times without side effects) and using a simple timeout mechanism. Figure 6.10 shows the state machines for “at least once” reliability using implicit acknowledgements. When the client sends out the request […]

10Jan 2020

Communication Errors and Handling of Communication Errors When considering the transport of RPC messages different reliability semantics exist:通信错误和通信错误的处理在考虑RPC消息的传输时,存在不同的可靠性语义: • Maybe — the message might reach the communication partner  也许 – 消息可能会传达给通信伙伴• At least once — the message reaches the communication partner at least once 至少一次 – 消息至少到达通信伙伴一次• Exactly once — the message reaches the communication […]