Station.h File Reference
#include <WString.h>
#include <WVector.h>
#include <IpAddress.h>
#include <MacAddress.h>
#include "BssInfo.h"
Include dependency graph for Station.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SmartConfigEventInfo
 Smart Config callback information. More...
 
class  StationClass
 WiFi station class. More...
 
struct  StationClass::Config
 Station configuration passed to config method. More...
 

Macros

#define WPS_STATUS_MAP(XX)
 
#define XX(name)   name,
 
#define XX(name)   constexpr WpsStatus eWPS_##name{WpsStatus::name};
 

Typedefs

using ScanCompletedDelegate = Delegate< void(bool success, BssList &list)>
 Scan complete handler function. More...
 
using SmartConfigDelegate = Delegate< bool(SmartConfigEvent event, const SmartConfigEventInfo &info)>
 Smart configuration handler function. More...
 
using WPSConfigDelegate = Delegate< bool(WpsStatus status)>
 WPS configuration callback function. More...
 

Enumerations

enum  StationConnectionStatus {
  eSCS_Idle , eSCS_Connecting , eSCS_WrongPassword , eSCS_AccessPointNotFound ,
  eSCS_ConnectionFailed , eSCS_GotIP
}
 WiFi station connection states. More...
 
enum  SmartConfigType {
  SCT_None = -1 , SCT_EspTouch , SCT_AirKiss , SCT_EspTouch_AirKiss ,
  SCT_EspTouch_V2
}
 Smart configuration type. More...
 
enum  SmartConfigEvent {
  SCE_Wait , SCE_FindChannel , SCE_GettingSsid , SCE_Link ,
  SCE_LinkOver
}
 Smart configuration event. More...
 
enum class  WpsStatus { XX }
 WiFi WPS callback status. More...
 

Functions

String toString (WpsStatus status)
 

Variables

StationClassWifiStation
 Global instance of WiFi station object. More...