Skip to main content

Crate rullst_iot

Crate rullst_iot 

Source
Expand description

Rullst IoT data models, protocol frame helpers, and signed firmware gate.

This crate does not currently provide MQTT/CoAP network transport, hardware HSM bindings, or post-quantum cryptography. It does provide bounded MQTT 5 PUBLISH and CoAP request encoders. Deterministic fixtures resembling other capabilities require the explicit experimental-simulators feature.

Re-exports§

pub use anomaly::AnomalyDetector;
pub use anomaly::AnomalyState;
pub use ble::GattCharacteristic;
pub use ble::GattService;
pub use coap::CoapCodecError;
pub use coap::CoapMessageType;
pub use coap::CoapMethod;
pub use coap::CoapRequest;
pub use coap::MAX_COAP_DATAGRAM_BYTES;
pub use gpio::GpioPin;
pub use gpio::PinMode;
pub use gpio::PinState;
pub use i2c::I2cHelper;
pub use mesh::MeshNode;
pub use mesh::MeshTopology;
pub use mesh::NodeStatus;
pub use modbus::ModbusFrame;
pub use modbus::ModbusFunction;
pub use mqtt::MAX_MQTT_PACKET_BYTES;
pub use mqtt::MqttCodecError;
pub use mqtt::MqttPublish;
pub use mqtt::MqttQos;
pub use ota::BootPartition;
pub use ota::OtaCommit;
pub use ota::OtaError;
pub use ota::OtaManager;
pub use ota::OtaManifest;
pub use ota::OtaStatus;
pub use ota::RollbackCounterError;
pub use ota::RollbackCounterStore;
pub use power::HarvesterState;
pub use power::PowerGovernor;
pub use power::PowerMode;
pub use twin::DigitalTwin;
pub use twin::TwinSyncError;
pub use ui::IotDashboard;

Modules§

anomaly
no_std statistical threshold classification for sensor readings.
ble
Bluetooth Low Energy GATT service and characteristic data structures.
coap
Bounded RFC 7252 CoAP request encoding without UDP/DTLS transport.
gpio
In-memory GPIO state model for tests and platform adapters.
i2c
I2C transaction byte builder; no bus or register access is included.
mesh
In-memory mesh topology and RSSI-based relay selection helpers.
modbus
Modbus request-frame builder and CRC-16 calculator; no transport is included.
mqtt
Bounded MQTT 5 PUBLISH encoding without network transport.
ota
Signed firmware manifest verification and OTA boot-selection state.
power
Voltage-based power-mode recommendation helpers.
twin
In-memory digital-twin state and JSON serialization helpers.
ui
HTMX-compatible sensor-card string renderer.

Structs§

SensorTelemetry
Sensor payload telemetry model for IoT nodes.