2e946f0675f2029
http://nhiro.org.s3.amazonaws.com/3/d/3d511246af0f138207dc780761bb05d7.jpg https://gyazo.com/3d511246af0f138207dc780761bb05d7
(OCR text)
ドキュメントを見る
30
esp8266/Arduinoのドキュメントを見る
WiFi (ESP8266W FI library)
This is mostly similar to WiFi shield library. Differences include:
WiFi.mode (m) : set mode to WIFI_AP, WIFI_STA, WIFI_AP_STA or WIFI_OFF
call wiFi.softAP (ssid) to set up an open network
call wiFi.softAP ( ssid, password) to set up a WPA2-PSK network (password should be at least 8 characters)
WiFi.macAddress (mac) is for STA, wiFi.softAPmacAddress (mac) is for AP.
WiFi.localIP() is for STA, wiFi.softAPIP ( ) is for AP.
WiFi.printDiag (Serial) will print out some diagnostic info
WIFIUDP class supports sending and receiving multicast packets on STA interface. When sending a multicast packet,
replace udp.begin Packet (addr, port) with udp.beginPacketMulticast (addr, port, wiFi.local IP ( ) ) . When listening to
multicast packets, replace udp.begin (port) with udp.beginMulticast (WiFi.localIP ( ), multicast_ip_addr, port). You
can use udp.destinationIP ( ) to tell whether the packet received was sent to the multicast or unicast address.
wiFiserver, WiFiClient , and wiFiUDP behave mostly the same way as with WiFi shield library. Four samples are provided for
「だいたいWifi shieldライブラリと同じ、違いは~、
ここでmore commandsが見れる:~」とか書いてる