wireband-edge
Lightweight Wire.Band client for IoT gateway hardware — Raspberry Pi, NVIDIA Jetson, industrial PCs.
Collects telemetry from MQTT, serial ports, BLE, Modbus, and CoAP, frames it with a 2-byte theta-symbol prefix, and flushes batches to the Wire.Band backend over HTTPS (rustls — no OpenSSL dependency).
Quick start
# MQTT gateway (default feature)
Installation
# or with all protocol connectors
Features
| Feature | Description |
|---|---|
mqtt (default) |
MQTT connector via rumqttc |
serial |
UART/RS-232/RS-485 via tokio-serial |
ble |
Bluetooth LE via btleplug |
modbus |
Modbus TCP/RTU via tokio-modbus |
coap |
CoAP via coap-lite |
agent |
Device twin, OTA updates, watchdog |
infer-onnx |
Edge inference via ONNX Runtime |
infer-tflite |
Edge inference via TensorFlow Lite |
Library usage
use ;
use MqttConnector;
async
Agent (device twin, OTA, watchdog)
use ;
use Duration;
// Device twin — sync reported/desired state
let twin = new;
twin.update_reported.await;
twin.sync.await;
// OTA firmware update
new
.run
.await?;
// Watchdog — kicks /dev/watchdog + emits heartbeat
spawn;
Cross-compilation
Pre-built binaries for common targets are available on the GitHub releases page.
To cross-compile yourself:
License
MIT