Other Parts Discussed in Thread: UNIFLASH, CC3220SF
Hi,
I am looking for assistance with my Simplelink HTTP server application. I have read the documentation and I like what it's promising me, but the reality is somewhat different. My use-case is akin to the Power Socket application in SWRU455L (2.2.2) which needs to be "Always Connected". However, all too frequently, I send a request and it gets timed out. Some time later I get
[WLAN ERROR]Device disconnected from the AP AP: <MySSID>,BSSID: 40:d:10:e8:4e:a9 on an ERROR..!!
[WLAN EVENT] STA Connected to the AP: <MySSID>,BSSID: 40:d:10:e8:4e:a9
[NETAPP EVENT] IP Acquired: IP=192.168.0.38 , Gateway=192.168.0.1
(I have omitted my SSID: IP address reveals nothing!)
and connection is restored. The error is displayed as frequently as 3 mins.
I've tried changing the policy (in provisioning_task.c) as follows, bu to no effect.
ret = sl_WlanPolicySet(SL_WLAN_POLICY_CONNECTION,SL_WLAN_CONNECTION_POLICY(0, 1, 0, 0), NULL, 0);
My application is an extension is an extension to the Out of the Box Demo. I do everything in the application on several tasks, from UART access to a Sub-GHz collector, a periodic timer task and the HTTP server (local link task +). The non network tasks are working OK, but I need to maintain a reliable network connection for the User Interface to be responsive.
So, any ideas on why the above error is happening so frequently and what I can do to fix it?
Thanks, in advance.
Martin