Other Parts Discussed in Thread: LAUNCHXL-TMS57004, , CC3100SDK, CC3100, HALCOGEN, CC31XXEMUBOOST
Tool/software: Code Composer Studio
Hi,
I am trying to setup a Wi-Fi configuration menu via UART in wich I should be able to configure the connection parameters through a serial terminal. I am using a launchxl-tms57004 and cc3100boost module for the job.
The configuration I apply to the module during initialization is the next one:
- TX power: Max power
- DHCP: enabled
- Connection policy: "Auto"
- Power management policy: "Always on"
- Scan policy: enabled with a 10 second interval
The problem I have encountered is that when I try to show the AP list, I call the sl_WlanGetNetworkList funciton and I get a -100 return wich I observed it could be SL_API_ABORTED. I tried to disable the connection policy and the scan policy in the initialization and enabling the scan policy just before the sl_WlanGetNetworkList call. In this case i get the same return, but I get the results correctly in the Sl_WlanNetworkEntry_t,
Thanks in advance,
Jon