WiFi network scanner implementation for ESP8266.
More...
#include <WiFiNetworkScan.h>
|
| void | scanNetworksAsync (std::function< void(int)> onComplete, bool showHidden=false) |
| | Start asynchronous WiFi network scan.
|
| |
|
| static int | isSecured (int encryptionType) |
| | Check if a network uses encryption.
|
| |
WiFi network scanner implementation for ESP8266.
This class provides WiFi network scanning functionality specifically for ESP8266 microcontrollers. It wraps the native ESP8266WiFi library to provide asynchronous scanning capabilities with callback-based completion.
◆ isSecured()
| static int uniot::ESP8266WifiScan::isSecured |
( |
int | encryptionType | ) |
|
|
inlinestatic |
Check if a network uses encryption.
- Parameters
-
| encryptionType | The encryption type returned by WiFi scan |
- Return values
-
| int | 1 if network is secured, 0 if open |
◆ scanNetworksAsync()
| void uniot::ESP8266WifiScan::scanNetworksAsync |
( |
std::function< void(int)> | onComplete, |
|
|
bool | showHidden = false ) |
|
inline |
Start asynchronous WiFi network scan.
- Parameters
-
| onComplete | Callback function called when scan completes |
| showHidden | Whether to include hidden networks in scan results |
The documentation for this class was generated from the following file: