|
ESP8266
|
Public Member Functions | |
| int8_t | scanNetworks (bool async=false, bool show_hidden=false) |
| int8_t | scanComplete () |
| void | scanDelete () |
| bool | getNetworkInfo (uint8_t networkItem, String &ssid, uint8_t &encryptionType, int32_t &RSSI, uint8_t *&BSSID, int32_t &channel, bool &isHidden) |
| String | SSID (uint8_t networkItem) |
| uint8_t | encryptionType (uint8_t networkItem) |
| int32_t | RSSI (uint8_t networkItem) |
| uint8_t * | BSSID (uint8_t networkItem) |
| String | BSSIDstr (uint8_t networkItem) |
| int32_t | channel (uint8_t networkItem) |
| bool | isHidden (uint8_t networkItem) |
Static Protected Member Functions | |
| static void | _scanDone (void *result, int status) |
| static void * | _getScanInfoByIndex (int i) |
Static Protected Attributes | |
| static bool | _scanAsync = false |
| static bool | _scanStarted = false |
| static bool | _scanComplete = false |
| static size_t | _scanCount = 0 |
| static void * | _scanResult = 0 |
|
staticprotected |
| i | specify from which network item want to get the information |
|
staticprotected |
private scan callback
| result | void *arg |
| status | STATUS |
| uint8_t * ESP8266WiFiScanClass::BSSID | ( | uint8_t | i | ) |
return MAC / BSSID of scanned wifi
| i | specify from which network item want to get the information |
| String ESP8266WiFiScanClass::BSSIDstr | ( | uint8_t | i | ) |
return MAC / BSSID of scanned wifi
| i | specify from which network item want to get the information |
| int32_t ESP8266WiFiScanClass::channel | ( | uint8_t | networkItem | ) |
| uint8_t ESP8266WiFiScanClass::encryptionType | ( | uint8_t | i | ) |
Return the encryption type of the networks discovered during the scanNetworks
| i | specify from which network item want to get the information |
| bool ESP8266WiFiScanClass::getNetworkInfo | ( | uint8_t | i, |
| String & | ssid, | ||
| uint8_t & | encType, | ||
| int32_t & | rssi, | ||
| uint8_t *& | bssid, | ||
| int32_t & | channel, | ||
| bool & | isHidden | ||
| ) |
loads all infos from a scanned wifi in to the ptr parameters
| networkItem | uint8_t |
| ssid | const char** |
| encryptionType | uint8_t * |
| RSSI | int32_t * |
| BSSID | uint8_t ** |
| channel | int32_t * |
| isHidden | bool * |
| bool ESP8266WiFiScanClass::isHidden | ( | uint8_t | i | ) |
return if the scanned wifi is Hidden (no SSID)
| networkItem | specify from which network item want to get the information |
| int32_t ESP8266WiFiScanClass::RSSI | ( | uint8_t | i | ) |
Return the RSSI of the networks discovered during the scanNetworks
| i | specify from which network item want to get the information |
| int8_t ESP8266WiFiScanClass::scanComplete | ( | ) |
called to get the scan state in Async mode
| void ESP8266WiFiScanClass::scanDelete | ( | ) |
delete last scan result from RAM
| int8_t ESP8266WiFiScanClass::scanNetworks | ( | bool | async = false, |
| bool | show_hidden = false |
||
| ) |
Start scan WiFi networks available
| async | run in async mode |
| show_hidden | show hidden networks |
| String ESP8266WiFiScanClass::SSID | ( | uint8_t | i | ) |
Return the SSID discovered during the network scan.
| i | specify from which network item want to get the information |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
1.8.10