Expand description
UHF RFID reader driver with support for multiple transport backends.
§Features
uart-esp32- UART transport for ESP32 using esp-idf-svcserial- Serial port transport for desktop using serialport crate
§Example
ⓘ
use uhf_rfid::{UhfRfid, SerialTransport};
let transport = SerialTransport::new("/dev/ttyUSB0", 115200)?;
let mut rfid = UhfRfid::new(transport);
if let Some(tag) = rfid.single_poll()? {
println!("Found tag: {}", tag.epc);
}Structs§
- Lock
Payload - Lock mask and action payload
- QtControl
- QT control settings for Impinj Monza tags
- Query
Params - Query parameters for tag inventory (per EPC Gen2)
- Select
Params - Parameters for the Select command
- TagInfo
- Information about a detected RFID tag
- UhfRfid
Enums§
- Lock
Action - Lock action for tag memory operations
- Lock
Target - Lock target for specifying which memory area to lock
- Memory
Bank - Memory bank selection for tag operations
- Query
Sel - Sel field for Query command
- Query
Session - Session for Query command
- Query
Target - Target flag for Query command
- Region
- Operating region for the reader
- RfLink
Profile - RF link profile for modulation settings
- Select
Action - Action for Select command (per EPC Gen2)
- Select
Mode - Select mode configuration
- Select
Target - Target flag for Select command (per EPC Gen2)
- UhfError
- Errors that can occur during RFID operations
Traits§
- Rfid
Transport - Trait for RFID reader communication backends. Implement this trait for different transports (UART, serial port, etc.)