Commit Graph

113 Commits

Author SHA1 Message Date
jess ff51b9ef23 drop unused nvs_flash.h include from wifi_cfg 2026-04-03 12:07:39 -07:00
jess df1efb5161 add ble_prov and wifi_cfg to CMakeLists 2026-04-03 12:03:10 -07:00
jess 97026e4f6b init wifi_cfg in app_main startup sequence 2026-04-03 12:02:55 -07:00
jess 7f49ecbe58 integrate wifi_cfg and ble_prov into wifi_transport 2026-04-03 12:02:34 -07:00
jess a4e2adc07a add ble_prov GATT server with provisioning commands 2026-04-03 12:01:13 -07:00
jess f8163e3a1e add provisioning command types to protocol.h 2026-04-03 12:00:11 -07:00
jess fc869309dc add wifi_cfg NVS credential storage 2026-04-03 11:59:49 -07:00
jess 9c7a656feb enable NimBLE in sdkconfig.defaults 2026-04-03 11:59:20 -07:00
jess 8403ff349e Things are running really smoothly. Relief in the breathe 2026-04-03 08:28:18 -07:00
jess 1dca7b035e fix Swift 6 concurrency data races across AppState, UDPManager, SessionView 2026-04-03 08:17:08 -07:00
jess e4db734098 Merge branch 'ios-session-sync' 2026-04-03 07:18:54 -07:00
jess 35be164188 update refs.c call sites for new send_sweep_start and send_ph_result signatures 2026-04-03 07:14:02 -07:00
jess b6ff02bdb4 add esp_timer to CMakeLists REQUIRES for esp_timer_get_time 2026-04-03 07:13:24 -07:00
jess 95ca2f7cdc inline axis styling in measurement data views 2026-04-03 07:08:25 -07:00
jess 6eab85af57 wire measurement rows to data views via NavigationLink 2026-04-03 07:07:23 -07:00
jess f5394d01ca add measurement data views with charts for all measurement types 2026-04-03 07:06:47 -07:00
jess d061a17e54 add session sync protocol, extended START fields, and session management handlers 2026-04-03 07:05:40 -07:00
jess dcde79cf08 add esp_timestamp to DB schema with v2 migration and dedup 2026-04-03 07:05:29 -07:00
jess 1ba6772738 decode esp_timestamp and meas_id in desktop Rust parser 2026-04-03 07:02:50 -07:00
jess 8297773827 add v2 migration: espTimestamp on measurement, firmwareSessionId on session 2026-04-03 07:01:37 -07:00
jess 80dc8ef561 append esp timestamp and measurement ID to all START messages 2026-04-03 07:01:30 -07:00
jess bb894b42be add encode_u32/decode_u32 to firmware protocol 2026-04-03 06:59:54 -07:00
jess ea3356ac20 disable wifi power save mode to fix bcn_timeout disconnects 2026-04-03 06:55:10 -07:00
jess 3239eaf9c8 implement UDP zombie reaper task 2026-04-03 03:48:42 -07:00
jess 9825ddb287 add client_remove_by_index for reaper 2026-04-03 03:48:03 -07:00
jess a9f6f9f6ac add timestamp tracking to UDP client table 2026-04-03 03:47:51 -07:00
jess 3e0cbfd131 add mutex protection to UDP client table 2026-04-03 03:47:26 -07:00
jess 5f550f031a merge integration
# Conflicts:
#	cue-ios/CueIOS/AppState.swift
#	cue-ios/CueIOS/Models/Protocol.swift
#	cue/src/app.rs
#	cue/src/protocol.rs
#	main/protocol.h
#	main/wifi_transport.c
2026-04-03 02:30:58 -07:00
jess 618e9ed4c8 iOS: parse and discard RSP_KEEPALIVE messages 2026-04-03 02:27:43 -07:00
jess d409f3569e desktop: parse and discard RSP_KEEPALIVE messages 2026-04-03 02:27:09 -07:00
jess c1721dfd1f send keepalives during blocking waits (clean, pH, chlorine settling) 2026-04-03 02:26:35 -07:00
jess 292a1a2e87 add RSP_KEEPALIVE protocol message type 2026-04-03 02:25:49 -07:00
jess a2a48f47a3 remove arbitrary MAX_UDP_CLIENTS cap from wifi transport 2026-04-03 02:25:26 -07:00
jess 9bc5347c66 Merge branch 'main' into chlorine-auto 2026-04-03 02:16:04 -07:00
jess 804ea21d71 fix: suppress keepalive timeout during blocking firmware measurements 2026-04-03 02:15:43 -07:00
jess 399ee4229b fix Swift type-checker errors in LsvAnalysis chained closures 2026-04-03 02:13:27 -07:00
jess 91a361732d add auto-mode chlorine flow to iOS 2026-04-03 02:09:38 -07:00
jess 03d10ab678 add auto-mode chlorine flow to desktop 2026-04-03 02:07:51 -07:00
jess c6bbaa5bc4 add ClPotentials derivation from LSV cathodic peaks 2026-04-03 02:07:47 -07:00
jess 01edb88e0b fix: iOS ChlorineView lsvManualPeaks -> clManualPeaks, Storage concurrency 2026-04-03 01:54:18 -07:00
jess cabf04551c Merge branch 'chlorine-tab-expand' 2026-04-02 23:16:39 -07:00
jess 34f8bda191 iOS: add LSV sweep and voltammogram to chlorine tab 2026-04-02 23:12:09 -07:00
jess 73899beaa5 add LSV sweep and voltammogram to chlorine tab 2026-04-02 23:11:49 -07:00
jess 8de67ca66e 2 iOS: add LSV point density config, remove auto/manual toggle 2026-04-02 23:10:44 -07:00
jess 090fcfa2f5 1 desktop: add LSV point density config, remove auto/manual toggle 2026-04-02 23:09:31 -07:00
jess a21b014d89 0 firmware: add num_points parameter to CMD_START_LSV protocol 2026-04-02 23:07:29 -07:00
jess 8e1153585b wire TOML export/import to iOS session browser 2026-04-02 21:16:29 -07:00
jess 311fb8ecc7 wire TOML export/import to desktop browse UI 2026-04-02 21:15:18 -07:00
jess c0a0904a44 display computed pH in status when LSV sweep completes 2026-04-02 19:34:58 -07:00
jess 1441c5ec42 iOS: add pH calibration UI in Calibrate tab 2026-04-02 19:34:30 -07:00