🌏 https://social.debashishsahu.com
🗣️ Opinions are my own 🫢
idf.py add-dependency "debsahu/espidf-nats^1.0.2"
Header-only, works with ESP-IDF 4.4+, supports ESP32/S2/S3/C3.
PRs welcome!
github.com/debsahu/espidf-nats
idf.py add-dependency "debsahu/espidf-nats^1.0.2"
Header-only, works with ESP-IDF 4.4+, supports ESP32/S2/S3/C3.
PRs welcome!
github.com/debsahu/espidf-nats
Went from ~200 lines to 2000+ lines of header-only C++. All the JetStream API complexity handled in clean callbacks.
Went from ~200 lines to 2000+ lines of header-only C++. All the JetStream API complexity handled in clean callbacks.
• KV Store → device config, sensor calibration, device twins
• Object Store → OTA firmware updates, log uploads
• JetStream → guaranteed delivery for critical sensor data
• Offline buffering → handles spotty WiFi gracefully
• KV Store → device config, sensor calibration, device twins
• Object Store → OTA firmware updates, log uploads
• JetStream → guaranteed delivery for critical sensor data
• Offline buffering → handles spotty WiFi gracefully
• NATS 2.0 Headers (HPUB/HMSG)
• Request timeouts with callbacks
• Async non-blocking connect
• Message buffering when offline
• Exponential backoff reconnect
• Connection metrics & error codes
• NATS 2.0 Headers (HPUB/HMSG)
• Request timeouts with callbacks
• Async non-blocking connect
• Message buffering when offline
• Exponential backoff reconnect
• Connection metrics & error codes
• TLS/SSL with mTLS support
• Full JetStream - streams, consumers, pull-based delivery, ACKs
• Key-Value Store for device config
• Object Store for firmware/large files
• Multi-server failover
• TLS/SSL with mTLS support
• Full JetStream - streams, consumers, pull-based delivery, ACKs
• Key-Value Store for device config
• Object Store for firmware/large files
• Multi-server failover