Skip to content

v0.4.0

Latest

Choose a tag to compare

@pd0wm pd0wm released this 13 Mar 14:02

New Features

  • Windows j2534 support, including J2534CanAdapter for raw CAN and J2534NativeIsoTpTransport for native ISO-TP thanks to @bri3d.
  • can::bitrate::BitrateBuilder and related types for CAN and CAN-FD bitrate configuration.

Breaking changes

  • Panda and SocketCAN adapters are now behind a feature flag (panda, socketcan) or use the default-adapters feature to enable them both.
  • IsoTpTransport has been renamed to TransportLayer, and UDSClient is now generic over TransportLayer.
  • Panda::new() and Panda::new_async() now require a BitrateConfig.
  • VectorCan::new() and VectorCan::new_async() now take Option<BitrateConfig>.
  • CanAdapter trait now exposes a timing_const() hook for adapters that use the new bitrate builder.