spaxel/firmware/main
jedarden a42c5e7ea1 feat: wire NTP client into firmware build and initialization
- Add ntp.c to CMakeLists.txt SRCS so it's compiled and linked
- Load ntp_server from NVS in load_nvs_config() (default: pool.ntp.org)
- Add ntp_server field to spaxel_state_t
- Initialize NTP after WiFi connects with 10s sync timeout, WARN on failure
- Re-sync NTP after WiFi reconnect (WIFI_LOST state)
- Start periodic 10-minute resync timer via esp_timer
- Add ntp_synced boolean to health JSON message
- Handle ntp_server field in downstream config message
- Fix periodic resync callback to properly stop/restart SNTP

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 13:19:07 -04:00
..
ble.c feat(firmware): ESP32-S3 firmware skeleton with CSI/BLE/WebSocket 2026-03-26 07:20:55 -04:00
ble.h feat(firmware): ESP32-S3 firmware skeleton with CSI/BLE/WebSocket 2026-03-26 07:20:55 -04:00
CMakeLists.txt feat: wire NTP client into firmware build and initialization 2026-04-07 13:19:07 -04:00
csi.c feat(protocol): full bidirectional node protocol over WebSocket 2026-03-26 23:14:19 -04:00
csi.h feat(firmware): ESP32-S3 firmware skeleton with CSI/BLE/WebSocket 2026-03-26 07:20:55 -04:00
main.c feat: wire NTP client into firmware build and initialization 2026-04-07 13:19:07 -04:00
ntp.c feat: wire NTP client into firmware build and initialization 2026-04-07 13:19:07 -04:00
ntp.h feat: implement comprehensive /healthz endpoint 2026-04-07 11:09:36 -04:00
nvs_migration.c feat: implement NVS schema migration on boot 2026-04-07 10:27:38 -04:00
nvs_migration.h feat: implement NVS schema migration on boot 2026-04-07 10:27:38 -04:00
provision.c feat: implement comprehensive /healthz endpoint 2026-04-07 11:09:36 -04:00
provision.h feat(dashboard): per-link motion presence indicator with amplitude time series 2026-03-26 22:55:33 -04:00
spaxel.h feat: wire NTP client into firmware build and initialization 2026-04-07 13:19:07 -04:00
version.h.in feat(firmware): OTA SHA-256 verification and captive portal URL decoding 2026-03-28 19:56:11 -04:00
websocket.c feat: wire NTP client into firmware build and initialization 2026-04-07 13:19:07 -04:00
websocket.h feat(protocol): full bidirectional node protocol over WebSocket 2026-03-26 23:14:19 -04:00
wifi.c feat: implement passive radar auto-detection of router AP 2026-04-06 14:03:03 -04:00
wifi.h feat: implement passive radar auto-detection of router AP 2026-04-06 14:03:03 -04:00