Option
Summary
Represents a SOME/IP options object.
See also
- Methods
- Properties
Structure
- class Option
- get_default_option_length() uint16
Returns the default option's length.
- Returns
Default option's length.
- Return type
- is_configuration_string() bool
Checks if the option is of type “configuration string”
- Returns
True
if the option is of type “configuration string”.False
otherwise.- Return type
- is_endpoint() bool
Checks if the type of the option is “ipv4_endpoint” or “ipv6_endpoint”.
- Returns
True
if the option is of type “endpoint”, either IPv4 or IPv6.False
otherwise.- Return type
- is_ipv4() bool
Checks if the option references an IPv4 address, either endpoint or multicast.
- Returns
True
if the option refers to an IPv4 address.False
otherwise.- Return type
- is_ipv4_endpoint() bool
Checks if the option is exclusively of type “ipv4_multicast”.
- Returns
True
if the option is an IPv4 multicast address.False
otherwise.- Return type
- is_ipv4_multicast() bool
Checks if the option is exclusively of type “ipv4_multicast”.
- Returns
True
if the option is an IPv4 multicast address.False
otherwise.- Return type
- is_ipv6() bool
Checks if the option references an IPv6 address, either endpoint or multicast.
- Returns
True
if the option refers to an IPv6 address.False
otherwise.- Return type
- is_ipv6_endpoint() bool
Checks if the option is exclusively of type “ipv6_endpoint”.
- Returns
True
if the option is an IPv6 endpoint address.False
otherwise.- Return type
- is_ipv6_multicast() bool
Checks if the option is exclusively of type “ipv6_multicast”.
- Returns
True
if the option is an IPv6 multicast address.False
otherwise.- Return type
- is_multicast() bool
Checks if the option is exclusively of type “ipv4_multicast” or “ipv6_multicast”.
- Returns
True
if the option is of type “multicast”, either IPv4 or IPv6.:code:False otherwise.- Return type
- endpoint_type
EndPointType represents the type of option .
- Type
- ip_address
IPv4 address of an endpoint or multicast option, used in the IP layer of the SOME/IP messages sent after subscribing to the corresponding service.
- Type
- ipv6_address
IPv6 address of an endpoint or multicast option, used in the IP layer of the SOME/IP messages sent after subscribing to the corresponding service.
- Type
- option_port
Port number of an endpoint or multicast option, used for the transport layer of the SOME/IP messages sent after subscribing to the corresponding service.
- Type
- reserved_byte
Reserved byte to possible uses in the future. It shall be set to
0x00
until further notice- Type