]> sigrok.org Git - sigrok-test.git/blobdiff - decoder/test/can/test.conf
can: Add a few test-cases.
[sigrok-test.git] / decoder / test / can / test.conf
index 1a5db07e5949b42e17dab188be47fd3fbad28288..c79ae6378b06002757b95e6c1e28f6e57ea7a767 100644 (file)
@@ -2,3 +2,38 @@ test exception_samplerate
        protocol-decoder can
        input misc/no-samplerate.sr
        output can exception match SamplerateError
+
+test mcp2515dm-bm-125kbits_msg_222_5bytes
+       protocol-decoder can channel can_rx=2 option bitrate=125000
+       input can/microchip_mcp2515dm-bm/mcp2515dm-bm-125kbits_msg_222_5bytes.sr
+       output can annotation match mcp2515dm-bm-125kbits_msg_222_5bytes.output
+
+test mcp2515dm-bm-125kbits_extmsg_11223344_7bytes
+       protocol-decoder can channel can_rx=2 option bitrate=125000
+       input can/microchip_mcp2515dm-bm/mcp2515dm-bm-125kbits_extmsg_11223344_7bytes.sr
+       output can annotation match mcp2515dm-bm-125kbits_extmsg_11223344_7bytes.output
+
+test mcp2515dm-bm-125kbits_bus_load_100percent
+       protocol-decoder can channel can_rx=2 option bitrate=125000
+       input can/microchip_mcp2515dm-bm/mcp2515dm-bm-125kbits_bus_load_100percent.sr
+       output can annotation match mcp2515dm-bm-125kbits_bus_load_100percent.output
+
+test mcp2515dm-bm-125kbits_bus_load_75percent
+       protocol-decoder can channel can_rx=2 option bitrate=125000
+       input can/microchip_mcp2515dm-bm/mcp2515dm-bm-125kbits_bus_load_75percent.sr
+       output can annotation match mcp2515dm-bm-125kbits_bus_load_75percent.output
+
+test mcp2515dm-bm-125kbits_bus_load_50percent
+       protocol-decoder can channel can_rx=2 option bitrate=125000
+       input can/microchip_mcp2515dm-bm/mcp2515dm-bm-125kbits_bus_load_50percent.sr
+       output can annotation match mcp2515dm-bm-125kbits_bus_load_50percent.output
+
+test mcp2515dm-bm-125kbits_bus_load_25percent
+       protocol-decoder can channel can_rx=2 option bitrate=125000
+       input can/microchip_mcp2515dm-bm/mcp2515dm-bm-125kbits_bus_load_25percent.sr
+       output can annotation match mcp2515dm-bm-125kbits_bus_load_25percent.output
+
+test nmea2000_fuel_flow_gps_snippet
+       protocol-decoder can channel can_rx=0 option bitrate=250000
+       input can/nmea2000/lowrance_ep_60r_garmin_gps_17x/nmea2000_fuel_flow_gps_snippet.sr
+       output can annotation match nmea2000_fuel_flow_gps_snippet.output