mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 04:02:29 +00:00
espnow autoreconnect
This commit is contained in:
@@ -156,6 +156,7 @@ static void statusDataSend(const uint8_t *mac_addr, esp_now_send_status_t status
|
||||
devices.channel = espnow_channel;
|
||||
devices.encrypt = false;
|
||||
esp_now_add_peer(&devices);
|
||||
|
||||
//esp_now_deinit(); // Stop ESP-NOW
|
||||
//wifi_init();
|
||||
//esp_now_init();
|
||||
|
Reference in New Issue
Block a user