Other Parts Discussed in Thread:CC3235SF
你好,我使用过的CC3235SF开发板,调用sl_WlanConnect函数,
其中#define SSID_NAME "HUAWEI"
可以连接到2.4G路由器,并分配地址,
Connecting to : HUAWEI.
[NETAPP EVENT] IP Acquired: IP=192.168.3.4 , Gateway=192.168.3.1
但是连接5G时,
打印如下,并且sl_WlanConnect返回0,没有分配IP
Connecting to : VR001_5G.
#define SSID_NAME "HUAWEI_5G"
Kevin Qiu1:
可以在例程Network Terminal中使用命令:wlanconnect -s "myhome network" -t WPA2 -p "password"进行连接并获取IP地址
wlanconnect [-help] [-s <"ssid name">] [-t <security type>] [-p <"password">]