This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3200 sl_WlanProfileGet incomplete parameter retrieval

I am trying to retrieve the profile information saved by smartconfig using sl_WlanProfileGet command. On issuing

sl_WlanProfileGet(0, ssid_name, &ssid_len, macid, &secParams, 0, &priority), I get empty return (0) for secParams.Key,secParams.KeyLen and macid. The ssid_name, ssid_len, secParams.Type are retrieved correctly. Security used in my case is 2 for WPA2.

I have tried issuing the command immediately after SmartConfigConnect(), where connection is succesful, but still the profile read ends up in empty security parameters.