请问station_config中的BSSID_SET位是否无效?
Re: 请问station_config中的BSSID_SET位是否无效?
Postby dahuzhi » Wed Jul 26, 2017 11:23 am
我是2个路由器分别上电的,先配置好8266连接一个路由器,然后路由器断电,更换另外一个路由器上电,这时8266就上线了。以下这是在smartlink回调函数中的代码
struct station_config *sta_conf = pdata;
sta_conf->bssid_set = 1;
wifi_set_opmode(STATION_MODE);
wifi_station_set_config(sta_conf);
wifi_station_disconnect();
wifi_station_connect();
struct station_config *sta_conf = pdata;
sta_conf->bssid_set = 1;
wifi_set_opmode(STATION_MODE);
wifi_station_set_config(sta_conf);
wifi_station_disconnect();
wifi_station_connect();
Who is online
Users browsing this forum: No registered users and 64 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.