How to interpret the ESP32 wifi logging messages?

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
solarjoe
Posts: 11
Joined: Wed Oct 28, 2020 9:07 pm

How to interpret the ESP32 wifi logging messages?

Post by solarjoe » Sat Nov 14, 2020 9:20 am

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?

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: How to interpret the ESP32 wifi logging messages?

Post by jimmo » Sun Nov 15, 2020 4:01 am

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).

Post Reply