Skip to content

Version 3.4.0

Choose a tag to compare

@fpagliughi fpagliughi released this 26 Dec 19:27
· 47 commits to master since this release

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 CanAddr and related code into a new addr module.
  • New CanRawFrame encapsulatea either type of libc, raw, CAN frame (Classic or FD)
  • Raw frame reads for CanSocket and CanFdSocket.
  • Implemented Read and Write traits for CanSocket
  • 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 CanState public
  • #61 CanFdSocket read_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: add set_can_params() method to set multiple parameters
  • #67 Improved tokio async implementation
  • #68 remove unnecessary qualifications
  • #73 Update some dependencies
    • itertools to v0.13, nix to v0.29, bitflags to v2.6, mio to 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