SOME/IP報文-Message ID

Message ID [32 Bit]
The Message ID is a 32 Bit identi?er that is used to dispatch the RPC call to a method of an application and to identify an event. The Message ID has to uniquely identify a method or event of a service.
Message ID是一個32位標識符,用于將RPC調用分派給應用程序的method并識別event 。 Message ID必須能唯一標識service的method或event。
The assignment of the Message ID is up to the user; however, the Message ID has to be unique for the whole system (i.e. the vehicle). The Message ID can be best compared to a CAN ID and should be handled with a comparable process. The next section describes how structure the Message IDs in order to ease the organization of Message IDs.
Message ID的分配取決于用戶; 然而,對于整個系統(即車輛),消息ID必須是唯一的。 消息ID可以與CAN ID進行比較,并且應該使用類似的過程進行處理。 下一節將介紹如何構建Message ID以便簡化Message ID的組織。
In order to structure the different methods, events, and fields, they are clustered into services. Services have a set of methods, events, and fields as well as a Service ID, which is only used for this service.
為了構造不同的method, event和field ,它們被聚集到service中。 service具有一組method , event和field以及services ID,該ID僅用于此service。
Service ID [16 Bit]
Service-IDs shall be of type 16 bit length unsigned integer (uint16).
Service-ID應該是16位長度無符號整數(uint16)。
The Service-ID of 0xFFFE shall be used to encode non SOME/IP services.
Service-ID=0xFFFE用來編碼非SOME / IP服務。
Different services within the same vehicle shall have different Service-IDs.
同一車輛內的不同服務應具有不同的Service-ID。
Method ID [16 Bit]
Methods and events shall be identi?ed inside a service using a 16bit Method-ID, which is called Event-ID for events and noti?cations.
Method和event應在service內部使用16位Method ID來識別,對Event和notification來說,稱為Event ID
