How can I resolve "ESP_ERR_ESPNOW_IF: Interface error" when using ESP-NOW with SoftAP on ESP32?
Hey guys I'm facing an issue with my ESP32 project, where the central controller acts as a soft Wi-Fi access point with a web server and communicates with three peripheral devices via ESP-NOW. Despite ensuring that the Wi-Fi and ESP-NOW channels are identical, I keep seeing the error "ESP_ERR_ESPNOW_IF: Interface error" when calling
This project extends my previous ESP32 home automation hub with predictive maintenance, where I used ESP32 boards for sensor data collection and OTA updates. Now, I'm trying to integrate ESP-NOW communication with the web server and SoftAP capabilities. I've tried switching to SoftAP mode, but the issue persists. How can I resolve this and ensure reliable communication between the devices?
esp_now_send().This project extends my previous ESP32 home automation hub with predictive maintenance, where I used ESP32 boards for sensor data collection and OTA updates. Now, I'm trying to integrate ESP-NOW communication with the web server and SoftAP capabilities. I've tried switching to SoftAP mode, but the issue persists. How can I resolve this and ensure reliable communication between the devices?
Solution
The error typically occurs immediately after calling
esp_now_send(), and it seems to be fairly consistent happening almost every time I attempt to send data. I haven't noticed any significant delay before the error appears. And so far, I haven't seen any other error codes or warnings,and I haven't checked the ESP-NOW buffer status with esp_now_buffer_count(), but that sounds like a good next step. I'll give that a try.