Loading...
Loading...
Used for debugging CAN bus communication, supports listening to, sending CAN frames, and scanning nodes via USB-CAN adapters.
npx skill4agent add leokemp223/embed-ai-tool can-debugpython-canpython scripts/can_tool.py --detect# Listen to the bus
python scripts/can_tool.py --interface pcan --channel PCAN_USBBUS1 --listen --duration 10
# Send frames
python scripts/can_tool.py --interface pcan --channel PCAN_USBBUS1 --send --id 0x123 --data 01,02,03
# Scan nodes
python scripts/can_tool.py --interface pcan --channel PCAN_USBBUS1 --scan --scan-range 0x001-0x0FFconnection-failurebus-errortimeoutResult: ✅ Listening completed, received 15 frames
Connection: pcan PCAN_USBBUS1 500000
[14:30:01] 0x123 [8] 01 02 03 04 05 06 07 08
[14:30:01] 0x456 [4] AA BB CC DDbuild-keilbuild-platformioserial-monitor