ble_framed_protocol 0.1.0 copy "ble_framed_protocol: ^0.1.0" to clipboard
ble_framed_protocol: ^0.1.0 copied to clipboard

Encode and decode XOR-checksummed framed-byte protocols common to industrial BLE devices (e-locks, GPS trackers, Nordic NUS clones). Configurable header and trailer bytes; pure Dart, no Flutter dependency.

Changelog #

0.1.0 #

  • Initial release.
  • Frame value type (cmdId + payload).
  • FramedProtocol encoder/decoder with configurable header and trailer bytes, XOR checksum, and 16-bit big-endian payload length.
  • FramedProtocol.standard constant for the default [0xAA, 0xBB] / [0x0D, 0x0A] byte magic.
  • verifyChecksum zero-allocation validator.
0
likes
140
points
27
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Encode and decode XOR-checksummed framed-byte protocols common to industrial BLE devices (e-locks, GPS trackers, Nordic NUS clones). Configurable header and trailer bytes; pure Dart, no Flutter dependency.

Repository (GitHub)
View/report issues

Topics

#ble #bluetooth #protocol #framing #codec

License

MIT (license)

More

Packages that depend on ble_framed_protocol