cc3200 ap模式信道选择
时间:10-02
整理:3721RD
点击:
cc3200在ap模式下,信道是如何选择的。可以根据环境自动选择信道吗?(如果可以怎样设置)如果不自动选择,设置信道后会保存吗?
使用wlanset设置:
Set channel for AP mode example:
The channel is dependant on the country code which is set. i.e. for "US" the channel should be in the range of [1-11]
unsigned char val = channel;
sl_WlanSet(SL_WLAN_CFG_AP_ID, WLAN_AP_OPT_CHANNEL, 1, (unsigned char *)&val);
设置信道后会保存的,是存在flash的。