Rust implementation of the LLRP 1.0.1 (Low Level Reader Protocol) for UHF RFID reader communication.
This library provides type-safe Rust bindings for the LLRP protocol, automatically generated from the official LLRP 1.0.1 specification. It handles binary encoding/decoding of all LLRP messages and parameters.
- Complete LLRP 1.0.1 coverage - All 40 messages and 111 parameters
- Type-safe API - Strongly typed structs and enums
- Binary codec - Efficient encode/decode with Big Endian byte order
- TLV/TV support - Handles both encoding formats with automatic dispatch
- Bit packing - Correct handling of sub-byte fields
- Zero-copy parsing - Efficient memory usage
Types are generated at build time from specs/llrp-1x0-def-extended.xml via build.rs. The generated code includes:
- Message and parameter structs
- Enumerations with conversions
- Binary encode/decode implementations
- Type registry for dynamic dispatch