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.

Call to sl_WlanSet() causing assertion exception in FreeRTOS

Other Parts Discussed in Thread: CC3200

Hi Ti

When I call sl_WlanSet() with the SL_WLAN_CFG_AP_ID an assertion error is thrown in FreeRTOS (in xQueGenericReceive()).  The funny thing is that if I call sl_WlanSet() with the SL_WLAN_GENERAL_PARAM_AP_ID or SL_WLAN_P2P_PARAM_AP_ID the assertion error is NOT thrown.

 

Another funny thing is that if I move the call to sl_WlanSet(SL_WLAN_CFG_AP_ID, ...) to a point in the code after a call to sl_Start() then I do not get the assertion error in FreeRTOS.  This is strange because I would expect that you would want to configure the AP parameters before starting the SimpleLink device.

 

In the CC3200 Host Documentation there are no pre-conditions listed for for calling  sl_WlanSet(),  should there be?  Is there some other documentation about the order of using sl_WlanSet()? If this is a bug, is calling sl_WlanSet(SL_WLAN_CFG_AP_ID, ...) after sl_Start() an acceptable work around?

Thanks,

Steve