Lines Matching full:can
6 Test suites for testing Zephyr CAN <=> host CAN.
12 import can
13 from can import BusABC, CanProtocol
22 can.Message(arbitration_id=0x10,
27 can.Message(arbitration_id=0x20,
33 can.Message(arbitration_id=0x30,
39 can.Message(arbitration_id=0x40,
46 can.Message(arbitration_id=0x50,
55 Class for testing CAN RX/TX between Zephyr DUT and host.
59 def check_rx(tx: can.Message, rx: can.Message) -> None:
72 def skip_if_unsupported(can_dut: BusABC, can_host: BusABC, msg: can.Message) -> None:
76 pytest.skip('CAN FD not supported by DUT')
78 pytest.skip('CAN FD not supported by host')
80 def test_dut_to_host(self, can_dut: BusABC, can_host: BusABC, msg: can.Message) -> None:
88 def test_host_to_dut(self, can_dut: BusABC, can_host: BusABC, msg: can.Message) -> None: