Page 1 of 1

How to interpret the ESP32 wifi logging messages?

Posted: Sat Nov 14, 2020 9:20 am
by solarjoe
Hello,

I am running endurance tests on a ESP32-PICO at the moment.
From time to time there are wifi connection interrupts and sometimes,
not sure if this is during the interrupts, there are messages like

Code: Select all

I (5558837) wifi:new:<6,0>, old:<6,2>, ap:<255,255>, sta:<6,0>, prof:1
I (5559857) wifi:new:<6,2>, old:<6,0>, ap:<255,255>, sta:<6,2>, prof:1
Can some tell me what happens here and how to interpret these messages?
Is this a reconnect or a channel switch?

Re: How to interpret the ESP32 wifi logging messages?

Posted: Sun Nov 15, 2020 4:01 am
by jimmo
These messages are generated by the wifi binary blob (included as part of the IDF):

./components/esp_wifi/lib_esp32/libnet80211.a
new:<%d,%d>, old:<%d,%d>, ap:<%d,%d>, sta:<%d,%d>, prof:%d

Unfortunately I don't know (but hopefully someone else here does), but otherwise might be worth raising on the Espressif forums as this isn't specifically MicroPython behavior (you'd see this with any ESP-IDF based firmware).