LinResponse
- class mtf.network_port.lin_services.LinResponse
Manage responses in the LIN protocol
- __init__(service, code=0, data=None)
- get_payload()
Builds and returns a representation of the request data as a list
- Return:
list
- get_payload_negative_response()
Retrieve the negative response from the payload Return:
list
- classmethod from_payload(payload)
Allows creating an instance of LinResponse from a payload
- Args:
payload (list[int]): The payload containing event data
- Return:
LinResponse: The instance of the LinResponse class