Add config system; auto-start/stop mqtt on eth up/down; first attempt of sending received packets over MQTT

This commit is contained in:
Michael Ehrenreich
2026-03-16 10:00:44 +01:00
parent 756791200f
commit 362d40c099
15 changed files with 1072 additions and 99 deletions
+22 -8
View File
@@ -1,9 +1,23 @@
idf_component_register(SRCS "main.c"
"cmd_sniffer.c"
"cmd_pcap.c"
"ethernet.c"
"sdcard.c"
"spi.c"
PRIV_REQUIRES console esp_wifi fatfs esp_eth app_trace nvs_flash
INCLUDE_DIRS ".")
idf_component_register(
SRCS
"main.c"
"cmd_sniffer.c"
"cmd_pcap.c"
"config.c"
"ethernet.c"
"events.c"
"mqtt.c"
"sdcard.c"
"spi.c"
PRIV_REQUIRES
app_trace
console
esp_eth
esp_netif
esp_wifi
fatfs
nvs_flash
INCLUDE_DIRS
"."
)