SomeIpConsumedService

class mtf.libs.mtf_pybinder.SomeIpConsumedService

SomeIp consumed service class

__init__(*args, **kwargs)
__new__(**kwargs)
property address

Get SomeIp service address elements

property cyclic_announce_delay

SdParameter CyclicAnnounceDelay

get_all_events(self: mtf.libs.mtf_pybinder.SomeIpService) list[mtf.libs.mtf_pybinder.SomeIpMessage]

Get all service events. This function could be used for both provided and consumed services

get_all_fields(self: mtf.libs.mtf_pybinder.SomeIpService) list[mtf.libs.mtf_pybinder.SomeIpField]

Get all service fields. This function could be used for both provided and consumed services

get_all_methods(self: mtf.libs.mtf_pybinder.SomeIpService) list[mtf.libs.mtf_pybinder.SomeIpMessage]

Get all service methods. This function could be used for both provided and consumed services

property initial_delay_max

SdParameter InitialDelayMax

property ip_address

NetworkLayerParameter EndPointIpAddress

property minor_version

SdParameter MinorVersion

property port_number

TransportLayerParameter TransportPort

property query_response_delay

SdParameter QueryResponseDelay

property repetition_base

SdParameter RepetitionBase

property repetition_max

SdParameter RepetitionMax

request(self: mtf.libs.mtf_pybinder.SomeIpConsumedService) mtf.libs.mtf_pybinder.Result

Register the ecu as a client for this service

property service_name

SdParameter ServiceName

stop_request(self: mtf.libs.mtf_pybinder.SomeIpConsumedService) mtf.libs.mtf_pybinder.Result

Unregister the ecu as a client for this service

subscribe_for_all(self: mtf.libs.mtf_pybinder.SomeIpConsumedService) mtf.libs.mtf_pybinder.Result

Subscribe for all events and field notifiers of this service

try_get_event_by_name(self: mtf.libs.mtf_pybinder.SomeIpService, event_name: str) mtf.libs.mtf_pybinder.SomeIpMessage

Get service event by name. This function could be used for both provided and consumed services. Return None if the event is not found.

try_get_field_by_name(self: mtf.libs.mtf_pybinder.SomeIpService, field_name: str) mtf.libs.mtf_pybinder.SomeIpField

Get service field by name. This function could be used for both provided and consumed services. Return None if the field is not found.

try_get_message_by_id(self: mtf.libs.mtf_pybinder.SomeIpService, message_id: int) mtf.libs.mtf_pybinder.SomeIpMessage

Get service event/field accessors/method by id. This function could be used for both provided and consumed services. Return None if the message is not found.

try_get_method_by_name(self: mtf.libs.mtf_pybinder.SomeIpService, method_name: str) mtf.libs.mtf_pybinder.SomeIpMessage

Get service method by name. This function could be used for both provided and consumed services. Return None if the method is not found.

property ttl

SdParameter Ttl

unsubscribe_from_all(self: mtf.libs.mtf_pybinder.SomeIpConsumedService) mtf.libs.mtf_pybinder.Result

Unsubscribe from all events and field notifiers of this service