Command Line Interface for caneth.
Commands:
(args: 'argparse.Namespace') -> 'None'
Minimal interactive console.
Commands:
send <id> <hex> [ext|std] [rtr]
on <id> [d0] [d1] # register a matcher (by ID, or ID+d0, or ID+d0+d1)
watch # print all frames
wait <id> [d0] [d1] [timeout]
help
quit/exit
(args: 'argparse.Namespace') -> 'None'
Send a single frame and exit.
(args: 'argparse.Namespace') -> 'None'
Wait for a specific frame (optionally d0/d1) and print it or timeout.
(args: 'argparse.Namespace') -> 'None'
Connect and print all received frames until Ctrl-C.
(s: 'str', label: 'str' = 'byte') -> 'int'
Parse a single byte from decimal or hex (0..255). Accepts ‘255’, ‘0xFF’, ‘ff’.
(s: 'str') -> 'int'
Parse CAN ID from decimal or hex. Accepts forms like: 291, 0x123, 123 (hex).
(argv: 'Optional[list[str]]' = None) -> 'int'
Entry point for the caneth
console script.