Skip to content

Version 3.5.0

Choose a tag to compare

@fpagliughi fpagliughi released this 29 Dec 18:14
· 38 commits to master since this release

A major update to the dump module, with some usability improvements to frames and sockets.

  • CanAnyFrame implements From trait for CanDataFrame, CanRemoteFrame, and CanErrorFrame.
  • CanFdSocket implementa TryFrom trait for CanSocket
  • Added FdFlags::FDF bit mask for CANFD_FDF
    • The FDF flag is forced on when creating a CanFdFrame.
  • Updates to dump module:
    • Re-implemented with text parsing
    • ParseError now implements std Error trait via thiserror::Error
    • Parses FdFlags field properly
    • CANFD_FDF bit flag recognized on input
    • Fixed reading remote frames
    • Now reads remote length
    • CanDumpRecord changes:
      • Removed lifetime and made device field an owned String
    • Implemented Clone and Display traits.
      • Display trait is compatible with the candump log record format
    • dump::Reader is now an Iterator itself, returning full CanDumpRecord items
    • New unit tests
  • #59 Embedded Hal for CanFdSocket