SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
The SimpleLink Wi-Fi host driver retrieves the current beacon interval and DTIM period of the connected AP. This feature is supported in STA mode only while the device is connected to AP; otherwise, it returns the appropriate error.
Example:
int8_t ret = 0;
SlWlanExtConnectionInfo_t ExtConnectionInfo;
_u16 config_opt = SL_WLAN_GENERAL_PARAM_EXT_CONNECTION_INFO;
_u16 Len = sizeof(SlWlanExtConnectionInfo_t);
ret = sl_WlanGet(SL_WLAN_CFG_GENERAL_PARAM_ID,,
& config_opt,
&Len,
(_u8*)&ExtConnectionInfo);