Other Parts Discussed in Thread: CC3200
Hi,
We have been developing a Wi-Fi client application based on the "httpget" project on our own hardware design with CC3220MODASF. We have experienced a problem while trying to add WPA Enterprise security to our application. The client connects to the enterprise network successfully with required certificates and key. However, after 100 seconds from the initial connection establishment, the device receives a SimpleLinkWlanEventHandler callback with id SL_WLAN_EVENT_DISCONNECT and with Data.Disconnect.ReasonCode SL_WLAN_DISCONNECT_FRAME_FROM_NONAUTH_STA. Same callback is received four more times with the same reason approximately every 30 seconds. After the fifth callback there is a sixth callback with id SL_WLAN_EVENT_PROVISIONING_STATUS which has Data.ProvisioningStatus.ProvisioningStatus as SL_WLAN_PROVISIONING_ERROR_ABORT_HTTP_SERVER_DISABLED.
I have tried the solution previously mentioned about the PM Policy to use function: sl_WlanPolicySet(SL_WLAN_POLICY_PM, SL_WLAN_ALWAYS_ON_POLICY, NULL,0). However, it doesn't change anything and the problem still occurs. I have tested to connect to the network with another client which is my laptop to see whether this is about the router or the radius server. The connection is not lost on the laptop so I believe the network and the radius server works fine.
In order to be sure that this is not caused by some part of our application code, I have implemented the WPA Enterprise security part on the pure httpget project and the problem happens exactly the same. I have used the latest SDK 3.30.1.02 with XDC core 3.60.0.24 but I also tested with previous SDK to see whether anything changes. The only solution I have found is to restart NWP by using sl_Stop and sl_Start as soon as I receive the first callback with SL_WLAN_DISCONNECT_FRAME_FROM_NONAUTH_STA. But this is not exactly a solution as reconnecting to the network every 100 seconds is not acceptable for our application.
Please let me know what can be done about this problem and why it happens.
Best,
Ogulcan