After setting the WiFi Promiscuous filter and starting up the WiFi, I randomly get this output:
“E (51478) wifi: wdev.c wdevProcessRxSucDataAll 1008”
When I get that, the Promiscuous callback appears to never get called. But it doesn’t happen all the time. In fact, I can reset the ESP32 via the button (not even re-uploading my program) and sometimes it happens and sometimes it runs fine. Seems like some sort of timing issue to me.
Does anyone know what this apparent error/assert means?
I’m using the Arduino IDE. The latest framework has v2.1 of the ESP-IDF code/libs.
I’ve also noted that this error seems to pop up mostly when I’m using WIFI_PROMIS_FILTER_MASK_ALL - but occasionally it runs without this error popping up. Very odd.
Could you share your platformio.ini
?
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
Do you mean that it works with Arduino IDE and doesn’t with PlatformIO?
Sorry, I mis-typed that. I meant to say I’m using the Arduino Framework, not the Arduino IDE.
I’m using PlatformIO as my IDE.
I modified the platformio.ini as described. It downloaded and rebuilt my project, but I still get the same result when I run it.
“E (51581) wifi: wdev.c wdevProcessRxSucDataAll 1008”
Could you try Arduino IDE? Does it work with your code?
Tested again using the Arduino IDE - same results.
Should I just open an issue regarding this error under the espressif/arduino-esp32 repo? Would that be more appropriate?
Done. I’ll address ESP32 code issues there from now on. Thanks!