LinRequest

class mtf.network_port.lin_services.LinRequest

Represents a request in a LIN network

__init__(service, data, timestamp)
get_payload()

Builds a representation of the request data as a list

classmethod from_payload(payload, timestamp=None)

Allows creating an instance of LinRequest from a payload

Args:

payload (list[int]): The payload containing event data timestamp (float, optional): The timestamp of the event

Returns:

LinRequest: The instance of the LinRequest class