Firmware (app_main.c): - UDP command listener on port 5501 (configurable via Kconfig) - Commands: REBOOT, IDENTIFY, STATUS, RATE, POWER - LED status indicator on GPIO2 (off/slow/fast blink/solid) - NVS persistence for send_rate and tx_power settings - Refactored ping to support stop/restart for dynamic rate changes - TX power control via esp_wifi_set_max_tx_power() Pi-side tooling: - tools/esp-cmd: standalone Python3 UDP client for device management Tested on amber-maple (ESP32 v3.1) with ESP-IDF v5.5.2.
24 lines
617 B
Plaintext
24 lines
617 B
Plaintext
menu "CSI UDP Configuration"
|
|
|
|
config CSI_UDP_TARGET_IP
|
|
string "UDP target IP address"
|
|
default "192.168.129.11"
|
|
help
|
|
IP address of the host receiving CSI data (e.g., Raspberry Pi).
|
|
|
|
config CSI_UDP_TARGET_PORT
|
|
int "UDP target port"
|
|
default 5500
|
|
range 1024 65535
|
|
help
|
|
UDP port on the target host for receiving CSI data.
|
|
|
|
config CSI_CMD_PORT
|
|
int "Command listener UDP port"
|
|
default 5501
|
|
range 1024 65535
|
|
help
|
|
UDP port for receiving management commands (STATUS, REBOOT, etc.).
|
|
|
|
endmenu
|