Description Gets the WiFi shield’s gateway IP address. Syntax WiFi.gatewayIP(); Parameters none Returns An array containing the shield’s gateway IP address 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 released […]
Description Gets the WiFi shield’s subnet mask. Syntax WiFi.subnet(); Parameters none Returns the subnet mask of the shield 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 released into the public […]
Description Gets the WiFi shield’s IP address. Syntax WiFi.localIP(); Parameters none Returns the IP address of the shield 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 released into the public […]
Description Initializes the WiFi library’s network settings and provides the current status. Syntax WiFi.begin(); WiFi.begin(ssid); WiFi.begin(ssid, pass); WiFi.begin(ssid, keyIndex, key); Parameters ssid: the SSID (Service Set Identifier) is the name of the WiFi network you want to connect to. keyIndex: WEP encrypted networks can hold up to 4 different keys. This identifies which key you […]
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 […]