uhf-rfid
A Rust driver for M5Stack UHF RFID readers with support for multiple transport backends.
Features
- ESP32 UART support - Native UART transport for ESP32 using
esp-idf-hal - Desktop serial support - Serial port transport using the
serialportcrate - Full EPC Gen2 support - Tag polling, reading, writing, locking, and killing
- Advanced configuration - Region settings, RF link profiles, frequency hopping, and more
- Vendor extensions - NXP UCODE and Impinj Monza specific commands
Installation
Add to your Cargo.toml:
[]
= "0.1"
Enable the appropriate feature for your platform:
# For desktop/Linux serial port
= { = "0.1", = ["serial"] }
# For ESP32
= { = "0.1", = ["uart-esp32"] }
Usage
Desktop (Serial Port)
use ;
ESP32 (UART)
use Peripherals;
use ;
Supported Operations
- Polling: Single and multiple tag inventory
- Memory access: Read/write tag memory banks (EPC, TID, User, Reserved)
- Security: Lock and kill tags
- Configuration: TX power, region, channel, frequency hopping, baud rate
- Advanced: Select filtering, query parameters, RF link profiles
- Vendor-specific: NXP EAS, read protect; Impinj Monza QT
License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.