#include "superluminal.h"// ── Declare your node ──────────────────static sl_node_t node;int main(void) {sl_node_init(&node, "TEMP-SILO-01");// Select frequency bandsl_set_network(&node, LORA_915);// Attach sensors (type, pin)sl_add_sensor(&node, TEMP_PROBE, A0);sl_add_sensor(&node, HUMIDITY, A1);// Configure reporting & alertssl_set_report_interval(&node, 300); // 5 minsl_set_alert_threshold(&node, TEMP_PROBE, HIGH, 35.0 // °C);// OTA update channelsl_enable_ota(&node, "SILO-ZONE-A");sl_begin(&node);for (;;) {// Handles LoRa radio, OTA updates,// deep-sleep scheduling & telemetrysl_tick(&node);}}
What the framework handles
A firmware and integration framework for industrial and agricultural engineers who need reliable devices without starting from scratch.
- Optional LoRa & LoRaWAN stack
- Native 868/915 MHz radio stack. No third-party library wrangling.
- Modular sensor abstraction
- Attach any sensor or actuator through a consistent interface: analogue, digital, I²C, or SPI.
- Low-power sleep engine
- Built-in scheduling and deep-sleep management extends battery life to multi-year deployments.
- Pre-built cloud integrations
- MQTT, Grafana, and REST webhooks work out of the box.
Hardware and protocols
Supported hardware
- ESP32 Family
- Arduino Family
- STM32
Uplink protocols
- MQTT (Bi-directional)
- HTTP
- HTTPS
- WebSocket
