Robert McMahon
0311ad21a1
Fix telemetry dropped counter and improve SD card list display
...
- Fix dropped telemetry calculation to account for bytes in batch buffer
- Add human-readable file sizes to sdcard list output (bytes with human-readable in parentheses)
- Update monitor status to show SD card status inline with telemetry label
- Add pending bytes display when telemetry is in batch buffer
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-10 10:05:13 -08:00
Robert McMahon
1eb04acd25
Add HTTP/serial file transfer, broadcast beacon, SD telemetry
...
- HTTP server on port 8080: GET /sdcard/<path> for SD file download
- Serial: sdcard send <file> streams hex-encoded; tools/sdcard_recv.py receives
- Broadcast beacon (UDP 5555): advertise IP, MAC, fiwi-telemetry for discovery
- tools/beacon_listen.py: listen and optionally download fiwi-telemetry per device
- SD commands: list, send, delete; status shows fiwi-telemetry and telemetry-status
- Monitor start: MCS telemetry -> fiwi-telemetry on SD by default (every 10s)
- telemetry-status on SD: persist download stats across reboots
- Kconfig: BEACON_INTERVAL_SEC, TELEMETRY_AUTO_DELETE_AFTER_DOWNLOAD
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 12:30:04 -08:00
Robert McMahon
a4e81c9852
SD card (SPI + CD), GPS PPS polarity/diagnostics, wiring docs
...
- Add sd_card component: SPI mode for ESP32-C5, optional CD (GPIO -1 to disable)
- Add sdcard console command; CD shift fix for CONFIG_SD_CD_GPIO=-1
- GPS: pps_active_low support, gps pps-test / pps-scan console commands
- board_config: ESP32-C5 SD pins (7,8,9,10,26), GPS PPS polarity
- doc/SD_CARD_WIRING.md, doc/GPS_WIRING.md: pin diagrams, Y-cable power note
- sdkconfig.defaults.esp32c5: SD CD GPIO 26
- php/mcs_fiwi.php: Fi-Wi demo page
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 11:42:03 -08:00
Robert McMahon
1eddb8e84f
Refactor file headers and clean up comments in multiple source files
...
- Updated file headers in iperf.c to include trip-time support in the brief description.
- Removed unnecessary comment blocks in cmd_ip.c, cmd_nvs.c, app_console.c, and wifi_cfg.c to streamline the codebase.
2025-12-27 19:34:21 -08:00
Robert McMahon
56ea987f75
Improve WiFi configuration handling by ensuring proper string termination
...
- Updated strncpy calls in wifi_cfg_apply_from_nvs and wifi_do_connect to prevent buffer overflows by reserving space for null termination.
- Added explicit null termination for SSID and password fields in the wifi_config_t structure.
2025-12-27 18:00:19 -08:00
Robert McMahon
4ed4391068
final fixes for commands
2025-12-22 16:57:51 -08:00
Robert McMahon
b769dbc356
more on gps time
2025-12-22 13:06:05 -08:00
Robert McMahon
9974174d5b
use sub commands for iperf major command
2025-12-22 12:27:12 -08:00
Robert McMahon
b4b40de64d
wifi connect without requiring reboot
2025-12-22 11:55:20 -08:00
Robert McMahon
099c28f9c7
wifi scan
2025-12-21 18:54:18 -08:00
Robert McMahon
42905200ea
more on commands
2025-12-21 15:54:30 -08:00
Robert McMahon
969abb5ae4
update license
2025-12-19 18:13:49 -08:00
Robert McMahon
2a41edf491
add bssid to scan output
2025-12-19 18:10:02 -08:00
Robert McMahon
46f0cdb07b
add ping support
2025-12-19 17:46:31 -08:00
Robert McMahon
1b78440309
gps --status command
2025-12-19 14:46:24 -08:00
Robert McMahon
88a585408a
add gps to nvs
2025-12-19 14:30:29 -08:00
Robert McMahon
3969c5780d
nvs saves
2025-12-19 10:36:10 -08:00
Robert McMahon
ca8b382a40
more on console
2025-12-19 10:21:08 -08:00
Robert McMahon
0f1c5b3079
more on console
2025-12-19 10:12:32 -08:00
Robert McMahon
796ef43497
more command & console work, including save and reload
2025-12-18 21:43:18 -08:00
Robert McMahon
fa3e8509fb
up to build for console work
2025-12-16 11:56:31 -08:00
Bob
beae917a36
status works
2025-12-14 15:20:53 -08:00
Bob
cab824265d
iperf 2 control support
2025-12-13 18:52:59 -08:00
Bob
960bfc49c1
if def work
2025-12-11 09:35:32 -08:00
Bob
4a1d1c51eb
final refactor
2025-12-08 17:28:24 -08:00