can_codec 0.1.3
can_codec: ^0.1.3 copied to clipboard
Protocol-agnostic CAN bus message codec. Bit-level decoder/encoder with NA/OOR sentinel handling for NMEA 2000, RV-C, and J1939.
0.1.3 #
- Add README, CHANGELOG, LICENSE, and example for pub.flutter-io.cn.
- Add repository, homepage, and topic metadata to pubspec.
- Add unit tests: decode/encode round trips, sentinels, type aliases.
0.1.0 #
- Initial release.
- Extracted from
package:nmea2000as a protocol-agnostic codec. MessageDefinitionandFieldDefinitionschema types.- Bit-level
decode()andencode()with little-endian byte order. - NA/OOR/reserved sentinel detection and handling.
TransportTypeenum (single, fastPacket, isoTp).- Backward-compatible
PgnDefinitionandPgnTransportaliases.