Skip to content

corey-hathaway/llrp-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

llrp-rs

Rust implementation of the LLRP 1.0.1 (Low Level Reader Protocol) for UHF RFID reader communication.

Overview

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.

Features

  • 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

Code Generation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages