文章目录
- 5.1.2.5 Service Entries
- 5.1.2.5.1 Find Service Entry
5.1.2.5 Service Entries
5.1.2.5.1 Find Service Entry
[PRS_SOMEIPSD_00350]
Find Service entry 用法发现服务实例。只有在需要发现的服务实例状态为未知时才可以发送
[PRS_SOMEIPSD_00351]
应按照以下要求设置Find Service Entry各项的值
- Type 固定为0x00(FindService)
- Service ID 设置为预查找的Service ID
- Instance ID 如果不限定服务实体设置成0xFFFF,如果限定服务实体设置为服务实体ID
- Major Version 如果不限定服务版本设置成0xFF,如果限定服务版本设置成服务的主版本号
- Minor Version 如果不限定服务版本设置成0xFFFF FFFF,如果限定服务版本设置成服务的次版本号
- TTL 可以设置成任何值,接收方会忽略该值。
[PRS_SOMEIPSD_00528]
在发送端Find Service Entry不应该引用任何Endpoint Options 和 Multicast Options
[PRS_SOMEIPSD_00529]
在接收方应忽略任何Find Service Entry引用的Endpoint Options 和 Multicast Options
[PRS_SOMEIPSD_00530]
除了Endpoint Options 和 Multicast Options 之外的Options都允许被Find Service Entry引用
[PRS_SOMEIPSD_00825]
当接收到Find Service Entry后,应精准匹配 Service ID, Instance ID, Major Version 和 Minor Version。除非Entry中Service ID, Instance ID, Major Version 和 Minor Version没有指定明确的值,而是使用了0xFFFF、0xFFFF、0xFF、0xFFFFFFFF。
[PRS_SOMEIPSD_00839]
在服务实例的Initial Wait Phase阶段接收到Find Service Entry应该被忽略。