Part Number: CC3200
Tool/software: TI C/C++ Compiler
Hi,
I'm trying to set the Country Code when CC3200 switches to Access Point mode.
I use this code:
/* Set AP Country */
if( sl_WlanSet( SL_WLAN_CFG_GENERAL_PARAM_ID, WLAN_GENERAL_PARAM_OPT_COUNTRY_CODE, strlen(country), (unsigned char *)country ) != 0 )
{
UART_PRINT("\n\r Set AP Country FAILED");
return opResult;
}
I can only set the "US" country. For example if I try to set "IT" the function returns an error.
What I'm doing wrong?
Thanks