espnow autoreconnect

This commit is contained in:
2025-07-29 01:48:21 -04:00
parent 61c9804b5e
commit 3c8e9db0ff

View File

@@ -149,6 +149,7 @@ static void statusDataSend(const uint8_t *mac_addr, esp_now_send_status_t status
} }
devices.channel = espnow_channel; devices.channel = espnow_channel;
esp_now_del_peer(receiver_mac);
//esp_now_add_peer(&devices); //esp_now_add_peer(&devices);
//esp_now_deinit(); // Stop ESP-NOW //esp_now_deinit(); // Stop ESP-NOW