Skip to main content

Examples

All examples compile with the Arduino IDE and CMake. See the examples folder in the repository.

Example Index

ExampleTransportModeTarget
BasicRXUART (idle-gap)StreamingAny Arduino
MultiSensorRXUART (idle-gap)StreamingAny Arduino — AID+sensor dispatch
ESP32UdpRXWiFi UDPosrx_feed_bytesESP32 / ESP8266
LoRaRXLoRa SX1276Direct (osrx_sensor_recv)Heltec / TTGO / Uno + shield
BareMetalUARTRXUSART0 registersStreaming, no Serial overheadATmega328P

BasicRX

Minimum viable receiver: streaming UART, single parser, print decoded values over Serial.

View source →

MultiSensorRX

Dispatches decoded frames by AID (agent ID) to separate handlers. Demonstrates multi-sensor node reception.

View source →

ESP32UdpRX

Full Wi-Fi UDP receiver for ESP32/ESP8266. Uses osrx_feed_bytes() — no parser instance needed.

View source →

LoRaRX

LoRa SX1276 receiver. Calls osrx_sensor_recv() directly inside the onReceive callback. Logs RSSI and SNR.

View source →

BareMetalUARTRX

Feeds bytes from AVR USART0 register directly (no Arduino Serial overhead). Lowest possible latency on ATmega328P.

View source →