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.

LAUNCHXL-CC3235SF: CC3235SF AT command for 5G freq.

Part Number: LAUNCHXL-CC3235SF

Hi All,

I know there is a AT command document for cc3220, SWRU534D.

May I know is there any AT command to support CC3235 especially for switching Wi-Fi band?(2.4G/5G)?

Thanks a lot.

  • No, the ATCMD library currently doesn't support the commands to control the active band(s), such as :

    SL_WLAN_GENERAL_PARAM_OPT_ENABLE_5G,

    SL_WLAN_GENERAL_PARAM_OPT_SCAN_PARAMS_5G

    It is possible to add these by updating the ATCmdWlan_setParse() function (in the library).

    You will need to add the right cases to the SL_WLAN_CFG_GENERAL_PARAM_ID switch:

        else if (setParams->id == SL_WLAN_CFG_GENERAL_PARAM_ID)
        {
            if ((ret = StrMpl_getListVal(ATCmd_wlanGenCfg,sizeof(ATCmd_wlanGenCfg)/sizeof(StrMpl_List_t),&buff,&setParams->option,ATCMD_DELIM_ARG, sizeof(setParams->option))) < 0)
            {
                return ret;
            }
            switch (setParams->option)
    

    Br,

    Kobi

  • Hi Kobi,

    I check all ATCmd_wlanGenCfg or ATCmd_wlanApCfg, there is NO specific keyword for 2.4G/5G settings.

    So if I add kind of this "{"ENABLE_5G", SL_WLAN_GENERAL_PARAM_OPT_ENABLE_5G},"

    Is this correct? Especially for yellow part....not sure its working on CC3235....

    StrMpl_List_t ATCmd_wlanApCfg[12] =
    {
        {"ssid", SL_WLAN_AP_OPT_SSID   },
        {"channel", SL_WLAN_AP_OPT_CHANNEL   },
        {"hidden_ssid", SL_WLAN_AP_OPT_HIDDEN_SSID   },
        {"security", SL_WLAN_AP_OPT_SECURITY_TYPE   },
        {"password", SL_WLAN_AP_OPT_PASSWORD   },
        {"max_stations", SL_WLAN_AP_OPT_MAX_STATIONS   },
        {"max_sta_aging", SL_WLAN_AP_OPT_MAX_STA_AGING   },
        {"access_list_mode", SL_WLAN_AP_ACCESS_LIST_MODE   },
        {"access_list_add_mac", SL_WLAN_AP_ACCESS_LIST_ADD_MAC   },
        {"access_list_del_mac", SL_WLAN_AP_ACCESS_LIST_DEL_MAC   },
        {"access_list_del_idx", SL_WLAN_AP_ACCESS_LIST_DEL_IDX   },
        {"access_list_num_entries", SL_WLAN_AP_ACCESS_LIST_NUM_ENTRIES}
    };

    StrMpl_List_t ATCmd_wlanGenCfg[7] =
    {
        {"country_code", SL_WLAN_GENERAL_PARAM_OPT_COUNTRY_CODE    },
        {"sta_tx_power", SL_WLAN_GENERAL_PARAM_OPT_STA_TX_POWER    },
        {"ap_tx_power",  SL_WLAN_GENERAL_PARAM_OPT_AP_TX_POWER   },
        {"info_element",  SL_WLAN_GENERAL_PARAM_OPT_INFO_ELEMENT   },
        {"scan_params",   SL_WLAN_GENERAL_PARAM_OPT_SCAN_PARAMS },
        {"suspend_profiles",  SL_WLAN_GENERAL_PARAM_OPT_SUSPEND_PROFILES   },
        {"disable_ent_server_auth",SL_WLAN_GENERAL_PARAM_DISABLE_ENT_SERVER_AUTH     }
    };

  • Suddently I understand what you mean for...

    I'll work on it, thanks.

  • Ok, good.

    Please let me know if you have specific questions about the required work.

    Br,

    Kobi