|
ESP8266
|
Public Member Functions | |
| bool | softAP (const char *ssid, const char *passphrase=NULL, int channel=1, int ssid_hidden=0) |
| bool | softAPConfig (IPAddress local_ip, IPAddress gateway, IPAddress subnet) |
| bool | softAPdisconnect (bool wifioff=false) |
| uint8_t | softAPgetStationNum () |
| IPAddress | softAPIP () |
| uint8_t * | softAPmacAddress (uint8_t *mac) |
| String | softAPmacAddress (void) |
| bool ESP8266WiFiAPClass::softAP | ( | const char * | ssid, |
| const char * | passphrase = NULL, |
||
| int | channel = 1, |
||
| int | ssid_hidden = 0 |
||
| ) |
Set up an access point
| ssid | Pointer to the SSID (max 63 char). |
| passphrase | (for WPA2 min 8 char, for open use NULL) |
| channel | WiFi channel number, 1 - 13. |
| ssid_hidden | Network cloaking (0 = broadcast SSID, 1 = hide SSID) |
Configure access point
| local_ip | access point IP |
| gateway | gateway IP |
| subnet | subnet mask |
| bool ESP8266WiFiAPClass::softAPdisconnect | ( | bool | wifioff = false | ) |
Disconnect from the network (close AP)
| wifioff | disable mode? |
| uint8_t ESP8266WiFiAPClass::softAPgetStationNum | ( | ) |
Get the count of the Station / client that are connected to the softAP interface
| IPAddress ESP8266WiFiAPClass::softAPIP | ( | ) |
Get the softAP interface IP address.
| uint8_t * ESP8266WiFiAPClass::softAPmacAddress | ( | uint8_t * | mac | ) |
Get the softAP interface MAC address.
| mac | pointer to uint8_t array with length WL_MAC_ADDR_LENGTH |
| String ESP8266WiFiAPClass::softAPmacAddress | ( | void | ) |
Get the softAP interface MAC address.
1.8.10