You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ python3 ./python_socketcan_example.py send can0 123 7766554433211000
$ python3 ./python_socketcan_example.py send -e can0 0123 776655443321100
Traceback (most recent call last):
File "./python_socketcan_example.py", line 132, in <module>
main()
File "./python_socketcan_example.py", line 129, in main
args.func(args)
File "./python_socketcan_example.py", line 89, in send_cmd
s.send(cob_id, generate_bytes(args.body), socket.CAN_EFF_FLAG if args.extended_id else 0)
File "./python_socketcan_example.py", line 46, in send
can_pkt = struct.pack(self.FORMAT, cob_id, len(data), data)
struct.error: argument out of range
Activity