|
VLink
2.0.0
A high-performance communication middleware
|
Transport configuration for the someip:// AUTOSAR SOME/IP transport.
更多...
Transport configuration for the someip:// AUTOSAR SOME/IP transport.
SomeipConf binds the someip:// URL scheme to vsomeip, the reference open-source implementation of the AUTOSAR SOME/IP (Scalable service-Oriented MiddlewarE over IP) protocol. SOME/IP is the standard service-oriented communication protocol used in modern automotive Ethernet backbones; it carries RPC method calls, event broadcasts and notifiable field updates between ECUs. Unlike string-named transports, SOME/IP identifies endpoints purely through 16-bit numeric identifiers.
| Publisher | Subscriber | Server | Client | Getter | Setter |
|---|---|---|---|---|---|
| yes | yes | yes | yes | yes | yes |
| Field | Applies to | Description |
|---|---|---|
service | all node types | 16-bit SOME/IP Service ID |
instance | all node types | 16-bit Service Instance ID |
method | Server / Client | 16-bit Method ID for RPC interfaces |
groups | Pub/Sub + Field | Set of 16-bit Event Group IDs |
event | Pub/Sub + Field | 16-bit Event ID within the selected groups |
field | Setter / Getter | true marks the endpoint as a SOME/IP field |
Numeric values are parsed by Helpers::to_int(), so decimal, 0x-prefixed hexadecimal, and leading-zero octal forms are all accepted. service and instance must be non-zero.
VLINK_SUPPORT_SOMEIP is defined. service and instance must both be non-zero; otherwise is_valid() returns false. kPublisher / kSubscriber / kSetter / kGetter, both groups and event must be set. kSetter / kGetter, field must be true.