“ESP8266 WiFi”的版本间的差异
(以“{| border="0" cellpadding="10" width="100%" |width="100%" valign="top" align="left"| <font color="orange" size="+2">'''WiFi类'''</font><br> '''The WiFi class initi...”为内容创建页面) |
|||
第216行: | 第216行: | ||
− | [[ | + | [[ESP8266 Libraries|返 回ESP8266 Libraries]] |
[[首页|返回首页]] | [[首页|返回首页]] | ||
更多建议和问题欢迎反馈至 [http://www.yfrobot.com YFRobot论坛] | 更多建议和问题欢迎反馈至 [http://www.yfrobot.com YFRobot论坛] |
2016年3月25日 (五) 10:59的版本
WiFi类 The WiFi class initializes the ethernet library and network settings. - WiFi.mode()
Wifi AP - WiFi.softAP(ssid,[password],[channel],[ssid_hidden])
- WiFi.softAPConfig(local_ip,gateway,subnet)
- WiFi.softAPdisconnect(wifioff)
- WiFi.softAPgetStationNum()
- WiFi.softAPIP()
- WiFi.softAPmacAddress(mac)
- WiFi.softAPmacAddress(void)
Wifi STA WL_CONNECTED WL_NO_SSID_AVAIL; WL_CONNECT_FAILED; WL_IDLE_STATUS; WL_DISCONNECTED; - WiFi.begin()
- WiFi.config(local_ip, gateway, subnet, dns1, dns2)
- WiFi.reconnect()
- WiFi.disconnect(bool wifioff)
- WiFi.isConnected()
- WiFi.setAutoConnect(bool autoConnect)
- WiFi.setAutoConnect()
- WiFi.setAutoReconnect(bool autoReconnect)
- WiFi.waitForConnectResult(bool autoReconnect)
- WiFi.localIP()
- WiFi.softAP(ssid,password)
- WiFi.softAP(ssid,password)
- WiFi.softAP(ssid,password)
The Server class creates servers which can send data to and receive data from connected clients (programs running on other computers or devices).
The client class creates clients that can connect to servers and send and receive data.
The UDP class enables UDP message to be sent and received. |
更多建议和问题欢迎反馈至 YFRobot论坛