Hello,
I would like to do a period WiFi scan while connected to an AP. However, when I enable the policy, it causes the failure to connect to an AP (it does do a scan, though!):
sl_WlanPolicySet(SL_WLAN_POLICY_SCAN, SL_WLAN_SCAN_POLICY(1,1), (unsigned char*)&scanInterval, sizeof(scanInterval));
I need to disable the policy, then it connects:
sl_WlanPolicySet(SL_WLAN_POLICY_SCAN, SL_WLAN_DISABLE_SCAN, 0, 0);
Because policy set writes to flash, I don't want to do it often. Therefore, is there a good solution to this that doesn't require writing to flash all the time?
Thanks!