-
Notifications
You must be signed in to change notification settings - Fork 656
Closed
Milestone
Description
Originally reported by: Christian Sandberg (Bitbucket: sandberg, GitHub: sandberg)
Found some inconsistencies between implementations.
send()should raise can.CanError on failed transmissions according to documentation.
- a) PCAN logs a warning and returns False
- b) socketcan_native logs a warning
- c)socketcan_ctypes ?
- d) usb2can logs a warning
- serial does not implement
send()andrecv() - socketcan_native does not implement
shutdown(), implements__del__instead. - usb2can uses argument
baudspecified in kbit/s while others use bitrate and bits/s. - On Kvaser recv() when timeout is None, the call should block indefinitely until a message is received. Now it returns immediately.