Version 3.4.0
This is a service release to publish a number of pull requests that have accumulated in the repository, including a number of bug fixes and improvements on existing implementations.
- Re-implemented CAN raw sockets using socket2
- Added a 'CanId' type with more flexibility than embedded_can::Id
- Moved from UD utility functions and types from frame module to id
- Added a CAN FD example, echo_fd
- Split out
CanAddrand related code into a newaddrmodule. - New
CanRawFrameencapsulatea either type of libc, raw, CAN frame (Classic or FD) - Raw frame reads for CanSocket and CanFdSocket.
- Implemented
ReadandWritetraits forCanSocket - InterfaceCanParams now has all items as Option<>. Can be used to get or set multiple options.
- #58 Add new API to enumerate available SocketCAN interfaces
- #60 Make
CanStatepublic - #61
CanFdSocketread_frame crash fix - #64 Make termination u16 and add
set_termination - #65 Dump parsing also optionally trims off CR at the line end
- #66
CanInterface: addset_can_params()method to set multiple parameters - #67 Improved tokio async implementation
- #68 remove unnecessary qualifications
- #73 Update some dependencies
itertoolsto v0.13,nixto v0.29,bitflagsto v2.6,mioto v1
- #74 CanFDFrames with ExtendedID are not correctly parsed by socketcan::dump::Reader
- #75 Fix DLC and add padding for CANFD frames
- #76 Add CanCtrlModes::has_mode(mode: CanCtrlMode)
- #80 Friendly non-Linux compilation error
- Remove unused byte_conv dependency