Description Disconnects the WiFi shield from the current network. Syntax WiFi.disconnect(); Parameters none Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.
Description WiFi.config() allows you to configure a static IP address as well as change the DNS, gateway, and subnet addresses on the WiFi shield. Unlike WiFi.begin() which automatically configures the WiFi shield to use DHCP, WiFi.config() allows you to manually set the network address of the shield. Calling WiFi.config() before WiFi.begin() forces begin() to configure […]
Description WiFi.setDNS() allows you to configure the DNS (Domain Name System) server. Syntax WiFi.setDNS(dns_server1) WiFi.setDNS(dns_server1, dns_server2) Parameters dns_server1: the IP address of the primary DNS server dns_server2: the IP address of the secondary DNS server Returns Nothing Example This example shows how to set the Google DNS (8.8.8.8). You can set it as an object […]
Description Gets the SSID of the current network Syntax WiFi.SSID(); WiFi.SSID(wifiAccessPoint) Parameters wifiAccessPoint: specifies from which network to get the information Returns A string containing the SSID the WiFi shield is currently connected to. string containing name of network requested. Example Libraries Reference Home The text of the 86Duino reference is a modification of the […]
Description Gets the MAC address of the routher you are connected to. Syntax WiFi.BSSID(bssid); Parameters bssid: 6 byte array Returns A byte array containing the MAC address of the router the WiFi shield is currently connected to. Example Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and […]
Description Gets the signal strength of the connection to the router. Syntax WiFi.RSSI(); WiFi.RSSI(wifiAccessPoint); Parameters wifiAccessPoint: specifies from which network to get the information Returns long : the current RSSI /Received Signal Strength in dBm Example Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed […]
Description Gets the encryption type of the current network. Syntax WiFi.encryptionType(); WiFi.encryptionType(wifiAccessPoint); Parameters wifiAccessPoint: specifies which network to get information from Returns byte : value represents the type of encryption – TKIP (WPA) = 2 – WEP = 5 – CCMP (WPA) = 4 – NONE = 7 – AUTO […]
Description Gets the first socket available. Syntax WiFi.getSocket(); Parameters none Returns int : the first socket available Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.
Description Scans for available WiFi networks and returns the discovered number. Syntax WiFi.scanNetworks(); Parameters none Returns byte : number of discovered networks Example Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are […]
Description Gets the MAC Address of your WiFi shield. Syntax WiFi.macAddress(mac); Parameters mac: a 6 byte array to hold the MAC address Returns byte array : 6 bytes representing the MAC address of your shield Example Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed […]