mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 03:02:19 +00:00
espnow autoreconnect
This commit is contained in:
@@ -132,7 +132,7 @@ static void statusDataSend(const uint8_t *mac_addr, esp_now_send_status_t status
|
||||
ESP_LOGI(TAG, "Data sent successfully to: %02X:%02X:%02X:%02X:%02X:%02X",
|
||||
mac_addr[0], mac_addr[1], mac_addr[2],
|
||||
mac_addr[3], mac_addr[4], mac_addr[5]);
|
||||
} else if (status == ESP_NOW_SEND_FAIL) {
|
||||
} else if (status != ESP_NOW_SEND_SUCCESS) {// == ESP_NOW_SEND_FAIL) {
|
||||
ESP_LOGE(TAG, "Error sending data to: %02X:%02X:%02X:%02X:%02X:%02X",
|
||||
mac_addr[0], mac_addr[1], mac_addr[2],
|
||||
mac_addr[3], mac_addr[4], mac_addr[5]);
|
||||
|
Reference in New Issue
Block a user