Uniot Core
0.8.1
Loading...
Searching...
No Matches
uniot::ESP8266WifiScan Class Reference

WiFi network scanner implementation for ESP8266. More...

#include <WiFiNetworkScan.h>

Public Member Functions

void scanNetworksAsync (std::function< void(int)> onComplete, bool showHidden=false)
 Start asynchronous WiFi network scan.
 

Static Public Member Functions

static int isSecured (int encryptionType)
 Check if a network uses encryption.
 

Detailed Description

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.

Member Function Documentation

◆ isSecured()

static int uniot::ESP8266WifiScan::isSecured ( int encryptionType)
inlinestatic

Check if a network uses encryption.

Parameters
encryptionTypeThe encryption type returned by WiFi scan
Return values
int1 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
onCompleteCallback function called when scan completes
showHiddenWhether to include hidden networks in scan results

The documentation for this class was generated from the following file: