upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/main/config.h
diff options
context:
space:
mode:
authorYour Name <you@example.com>2026-05-19 02:44:17 +0530
committerYour Name <you@example.com>2026-05-19 02:44:17 +0530
commit2ad2ed45f3ca82b1244a8b9e3e5efa89502413a9 (patch)
tree0f423dce2c22f8483b0c9f3c1bb642bf9ea5b01b /main/config.h
parenta09be62cfab9a1d7f37c697c44c71aed70536e8c (diff)
feat: WPA auto-detect, STA connectivity fix, lwip crash fix
- Add wifi_auth_mode config field (WPA2/WPA3) parsed from config.json - Default to WPA2 (accepts both WPA2 and WPA3 networks) - Replace hardcoded WIFI_AUTH_WPA3_PSK with runtime threshold mapping - Reduce MINT_HEALTH_PROBE_INTERVAL_S from 300 to 30 for testing - Add 3s delay before service start + 5s DNS stabilization for health probes - Fixes lwip mem_free crash caused by concurrent HTTP at boot Verified on hardware: - STA connects to WPA2 home router (Got IP:192.168.2.16) - All 4 mint health probes complete successfully - API endpoints return correct data with reachable mint filtering - 4/4 wallets initialized with real keysets from live mints
Diffstat (limited to 'main/config.h')
-rw-r--r--main/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/config.h b/main/config.h
index 8e12878..1a32cc2 100644
--- a/main/config.h
+++ b/main/config.h
@@ -65,6 +65,8 @@ typedef struct {
65 65
66 bool cvm_enabled; 66 bool cvm_enabled;
67 char cvm_relays[256]; 67 char cvm_relays[256];
68
69 char wifi_auth_mode[16];
68} tollgate_config_t; 70} tollgate_config_t;
69 71
70void tollgate_config_derive_unique(tollgate_config_t *cfg); 72void tollgate_config_derive_unique(tollgate_config_t *cfg);