12、ESP8266 STA_Mode

station_config

struct station_config {
    uint8 ssid[32];
    uint8 password[64];
    uint8 bssid_set;    // Note: If bssid_set is 1, station will just connect to the router
                        // with both ssid[] and bssid[] matched. Please check about this.
    uint8 bssid[6];
    wifi_fast_scan_threshold_t threshold;
};;

API

在这里插入图片描述
在这里插入图片描述

ESP8266_STA初始化

在这里插入图片描述

查询STA接入WIFI状态

在这里插入图片描述

判断是否获取IP

在这里插入图片描述

发布了274 篇原创文章 · 获赞 97 · 访问量 8万+

猜你喜欢

转载自blog.csdn.net/imxlw00/article/details/104873596