hello all
This could be most silly question but I am finding it difficult.
In case SYSTEM_EVENT_STA_DISCONNECTED:
I would Like to get Wi-Fi Reason Code here to check the reason for disconnection , How to get ?
Thanks
Wi-Fi Reason Code
Re: Wi-Fi Reason Code
system_event_sta_disconnected_t *disconnected = &event->event_info.disconnected;
printf("SYSTEM_EVENT_STA_DISCONNECTED, ssid:%s, ssid_len:%d, bssid:" MACSTR ", reason:%d\n", disconnected->ssid,
disconnected->ssid_len, MAC2STR(disconnected->bssid), disconnected->reason);
printf("SYSTEM_EVENT_STA_DISCONNECTED, ssid:%s, ssid_len:%d, bssid:" MACSTR ", reason:%d\n", disconnected->ssid,
disconnected->ssid_len, MAC2STR(disconnected->bssid), disconnected->reason);
Who is online
Users browsing this forum: No registered users and 98 guests