cc3200 scan后我能获取到我搜索到信号的所有mac地址吗?有没有相应的接口?
时间:10-02
整理:3721RD
点击:
cc3200 scan后我能获取到我搜索到信号的所有mac地址吗?有没有相应的接口?我想用mac来屏蔽一些信号!
可以的,API是
\return Number of valid networks list items
\sa
\note belongs to \ref ext_api
\warning This command do not initiate any active scanning action
\par Example:
\code An example of fetching max 10 results:
Sl_WlanNetworkEntry_t netEntries[10];
_i16 resultsCount = sl_WlanGetNetworkList(0,10,&netEntries[0]);
for(i=0; i< resultsCount; i++)
{
printf("%s\n",netEntries[i].ssid);
}
\endcode
*/
#if _SL_INCLUDE_FUNC(sl_WlanGetNetworkList)
_i16 sl_WlanGetNetworkList(_u8 Index, _u8 Count, Sl_WlanNetworkEntry_t *pEntries);
#endif