espnow autoreconnect

This commit is contained in:
2025-07-29 01:27:38 -04:00
parent d738556333
commit c69c416a92
16 changed files with 842 additions and 820 deletions

View File

@@ -139,7 +139,7 @@ static void statusDataSend(const uint8_t *mac_addr, esp_now_send_status_t status
ESP_LOGE(TAG, "Error sending data. Error code: 0x%04X", status);
ESP_LOGE(TAG, "esp_now_send() failed: %s", esp_err_to_name(status));
ESP_LOGE(TAG, "Ensure that receiver is powered-on and MAC is correct.");
//deletePeer();
deletePeer();
//esp_restart();
if (espnow_channel < 11) {