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.

CC3235 如何连接到5G网络,进行收发数据

Other Parts Discussed in Thread: CC3235S, CC3235SF

我下载的是serial_wifi_cc3235s_launchxl_freertos_ccs的例程,想要发送AT指令连接我的AP,并且建立TCP连接

目前已经收发数据OK,但是不知道怎么切换2.4G和5G?请问如何可以切换到5G网络

  • • Enable/Disable 5-GHz Channels
    For CC3235S and CC3235SF devices, this setting enables or disables 5-GHz channels in STA mode.
    By default, 5-GHz channels are enabled in the system and the scanning time might be longer due to
    the total number of enabled channels. In deployments that do not use these channels, disabling the
    channels might improve the scan time and power consumption.
    The mode can be changed by setting 0 to disable 5-GHz channels and 1 to enable.
    Example:
    _i16 Status;
    _u8 Mode = 0; //0 disable 5GHz mode
    Status = sl_WlanSet(SL_WLAN_CFG_GENERAL_PARAM_ID, WLAN_GENERAL_PARAM_OPT_ENABLE_5G, 1, (_u8
    *)&Mode);
    if( Status )
    {
    /* error */
    }