SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
AP mode configuration can be retrieved by host commands. Each set parameter (discussed in the previous section) can be retrieved with the following API, and the corresponding configuration ID and configuration option.
Example:
_i16 Status;
_i8 Ssid[33];
_u16 Len = 33;
_u16 Config_opt;
memset(ssid,0,33);
Config_opt = SL_WLAN_AP_OPT_SSID;
Status = sl_WlanGet(SL_WLAN_CFG_AP_ID, &config_opt , &len, (_u8* )ssid);
if( Status )
{
/* error */
}