Tool/software: TI-RTOS
While testing the provisioning example, the connection is successful to the AP and ping results came as expected. However sometimes when the AP is turned off, there are two disconnect event fired with different reason code.
[Event] STA disconnected from AP (Reason Code = 3) & [Event] STA disconnected from AP (Reason Code = 202)
From wlan.h the codes refers to 3 --> SL_WLAN_DISCONNECT_DEAUTH_SENDING_STA_LEAVING and 202 --> SL_WLAN_DISCONNECT_AUTH_TIMEOUT
I am not using any authentication mode nor secure modes, hence I think these codes are incorrect for usual wlan disconnection. It is also causing issues in my programming cycle.
Appreciate if someone can help me with this.