我要改变softap的 ssid,使用下列代码,打印看到修改成功,但在 wifi scan中为什么只能看到前10个字符的ssid?
struct softap_config config;
char macaddr[6];
wifi_softap_get_config(&config);
wifi_get_macaddr(SOFTAP_IF, macaddr);
os_printf(">>>>>>>>>>>>>111>>>ssid:%s\n", config.ssid);
os_memset(config.ssid, 0, sizeof(config.ssid));
os_sprintf(config.ssid, "abcdef_%02x%02x%02x", macaddr[3], macaddr[4], macaddr[5]);
wifi_softap_set_config(&config);
os_printf(">>>>>>>>>>>>>2222>>>ssid:%s\n", config.ssid);
[SOLVED]为什么softap ssid最多只能设置为10个字符?
Who is online
Users browsing this forum: No registered users and 27 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.