IECUEthernet
Summary
Represents an Ethernet ECU object.
- Methods
- Properties
Structure
- class IECUEthernet
- find_consumed_service_instances(service_id: uint16) Array[IConsumedService]
Gets a list of consumed service objects found for the ECU that correspond to the service id given. An ECU can consume the same service id with different event groups, IPs and ports, and for each combination of these parameters a consumed service object is created.
- Parameters
service_id (
uint16
) – Id of the desired service.- Returns
List of consumed services found.
- Return type
- find_provided_service_instances(service_id: uint16) Array[IProvidedService]
Gets a list of provided service objects found for the ECU that correspond to the service id given.
- Parameters
service_id (
uint16
) – Id of the desired service.- Returns
List of provided services found.
- Return type
- get_consumed_services_by_ip(ip: str) Array[IConsumedService]
Extracts from the database the complete list of consumed services by a certain ECU. These consumed services contain info not only about the services itself, but also about the eventgroups used, transport info, etc.
- Parameters
ip (
str
) – IP address of the desired ECU.- Returns
List of consumed services by the IP
- Return type
- get_ips(filters: Array[Func[str, bool]]) IReadOnlyList[str]
Extracts a list of IPs from the network of the ECU by applying a list of filters.
- get_provided_services_by_ip(ip: str) Array[IProvidedService]
Extracts from the database the complete list of provided services by a certain ECU.
- Parameters
ip (
str
) – IP address of the desired ECU.- Returns
List of services provided by the IP
- Return type
- consumed_services
Gets the complete list of services consumed by the ECU.
- Type
- couplings
list of coupling elements in ecu ethernet
- Type
IReadOnlyCollection
[CouplingElement
]
- diagnostic_addresses
The list of diagnostic addresses of the ECU.
- Type
- mac_unicast_addresses
A list of the MAC unicast addresses of the ECU.
- Type
- provided_services
Gets the complete list of services provided by the ECU.
- Type