|
ProtoCore v0.0.1
Deterministic, zero-heap network stack for embedded targets
|
Layer: Foundation ยท Build flags: PC_ENABLE_SIGFOX
The one radio that runs the opposite direction from the gateway examples. Instead of bridging a southbound radio northbound, the device itself uplinks a tiny message (<= 12 bytes, ~140 per day) over the Sigfox 0G network straight to the cloud - ultra-low-power telemetry from places with no Wi-Fi. A Wisol / Murata Sigfox modem is driven by AT commands over UART; the only hardware-specific code is the UART carry.
services/sigfox is a pure AT-command codec:
The payload is hex-encoded (uppercase, two nibbles per byte), and the response is classified as OK, ERROR, or still pending. The codec is host-tested in test/test_sigfox.
| Modem | ESP32 |
|---|---|
| TX | GPIO 16 (RX) |
| RX | GPIO 17 (TX) |
| VCC | 3V3 |
| GND | GND |
9600 8N1. Needs a Sigfox modem and an active Sigfox subscription for the region to actually transmit.
The flag must reach the library build, so pass it as a build flag: