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.

Scan policy on ap mode problem

Other Parts Discussed in Thread: CC3200

Hi 

     I can get the scan results on STA mode. But when i set CC3200 to AP mode. And then call scan policy, that will be failed. Why?

lRetVal = sl_WlanPolicySet(SL_POLICY_SCAN , ucpolicyOpt,
(unsigned char*)(policyVal.ucPolicy), sizeof(policyVal));
if(lRetVal!=0)
{
UART_PRINT("Unable to set the Scan Policy\n\r");
return lRetVal;
}

It always get failed on sl_WlanPolicySet method. Can it only work on STA mode for Scan policy?

Best Regards!

James