Log disconnection reason
Posted: Wed Jun 23, 2021 3:10 pm
Hello,
when I have an event WIFI_EVENT_STA_DISCONNECTED with wifi_event_sta_disconnected_t, is there a way to print the wifi_event_sta_disconnected_t.reason in a readable manner without explicit array/chars definition?
Thanks
PS: I also have a strange error code, do you know the reason and how to solve it?
Thanks
when I have an event WIFI_EVENT_STA_DISCONNECTED with wifi_event_sta_disconnected_t, is there a way to print the wifi_event_sta_disconnected_t.reason in a readable manner without explicit array/chars definition?
Thanks
PS: I also have a strange error code, do you know the reason and how to solve it?
Code: Select all
I (158217) wifi:state: run -> init (6cc0)
I (158218) wifi:pm stop, total sleep time: 0 us / 141489455 us
W (158218) wifi:<ba-del>idx
W (158219) wifi:<ba-del>idx
I (158221) wifi:new:<11,0>, old:<11,0>, ap:<255,255>, sta:<11,0>, prof:5
I (158228) WIFI: WIFI_EVENT_STA_DISCONNECTED
W (158242) WIFI: Wifi disconnection reason: 108