diff --git a/firmware/main/c6_slave.bin b/firmware/main/c6_slave.bin index 14568f3..a606cf1 100644 Binary files a/firmware/main/c6_slave.bin and b/firmware/main/c6_slave.bin differ diff --git a/firmware/main/net.c b/firmware/main/net.c index e9a8db2..ef3006d 100644 --- a/firmware/main/net.c +++ b/firmware/main/net.c @@ -21,14 +21,14 @@ static volatile bool s_got_ip; static void start_ping_diag(void); static void ping_diag_task(void *arg); -/* Router DHCP has been observed to go silent for this MAC (flap throttling). - * After 15 s without a lease, claim the previously granted address statically. */ +/* Fully static addressing: every observed SDIO wedge (~300 s uptime) coincides + * with the DHCP T1 renewal window, so the DHCP client stays out of the picture. */ static void static_ip_fallback(void *arg) { (void)arg; - vTaskDelay(pdMS_TO_TICKS(15000)); + vTaskDelay(pdMS_TO_TICKS(1000)); if (!s_got_ip) { - ESP_LOGW(TAG, "no DHCP lease after 15s — falling back to static 192.168.86.53"); + ESP_LOGI(TAG, "static addressing: 192.168.86.53 (DHCP client disabled)"); esp_netif_dhcpc_stop(s_netif); esp_netif_ip_info_t ip = { 0 }; ip.ip.addr = esp_ip4addr_aton("192.168.86.53");