Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Compiler/CC3200: Set WiFi Country in Access Point mode

$
0
0

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


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>