MQTT & Sparkplug B IoT Telemetry Protocol
MQTT enables distributed RFID reader networks, smart lockers, and handheld scanners to publish clean tag discovery events, antenna health telemetries, and sensor states over lightweight TCP channels to central brokers (EMQX, HiveMQ, AWS IoT Core, Azure IoT Hub).
Core Protocol Architecture & Specifications
- ✓ Publish/Subscribe topic hierarchies: rfid/readers/{readerId}/tags/read and rfid/lockers/{lockerId}/door/state
- ✓ QoS 0 (At most once), QoS 1 (At least once with local SQLite buffer), and QoS 2 (Exactly once)
- ✓ Last Will and Testament (LWT) for instant offline detection of edge gates and dock door portals
- ✓ Sparkplug B payload standardization for industrial SCADA and unified namespace (UNS) architectures
- ✓ Bi-directional commands: trigger instant relays, GPIO stack lights, and solenoid door unlocks
{
"topic": "rfid/facility_delhi_hub/portal_dock_04/tags/read",
"qos": 1,
"retain": false,
"timestamp": 1727539200000,
"reader": {
"id": "FX9600-DOCK04",
"ip": "192.168.1.140",
"firmware": "v3.10.30"
},
"tag": {
"epc": "E28011606000020468E712AB",
"tid": "E28011602000700468E712AB",
"antenna_port": 2,
"rssi_dbm": -52.4,
"read_count": 14,
"frequency_mhz": 866.3,
"phase_angle_rad": 3.1415
},
"motion": {
"direction": "INBOUND",
"confidence_score": 0.985
}
} Verified Hardware Implementations
Our engineering team has thoroughly tested and validated MQTT & Sparkplug B across the following reader models, embedded modules, and smart transponders:
Target Deployments
- Smart tool & medical lockers
- Distributed multi-facility warehouse monitoring
- Cold-chain vaccine tracking
- Cloud ERP event streaming
Deploy with OpenRFID
Integrate MQTT & Sparkplug B into your ERP, warehouse software, or custom mobile app with pre-built C# / C++ drivers.