libpowermon 1.11
PowerMon Access Library
Loading...
Searching...
No Matches
Powermon::WifiNetwork Struct Reference

WifiNetwork represents all information required by PowerMon-W to connect to an access point. More...

#include <powermon.h>

Public Types

enum  SecurityMode : uint16_t {
  OPEN = 0x0 ,
  WEP = 0x1 ,
  WPA2_WPA1_PSK = 0x2 ,
  WPA2_PSK = 0x4 ,
  WPA3_SAE = 0x6
}

Public Member Functions

bool isPasswordProtected (void) const
bool isMetered (void) const
bool isFailed (void) const
void setMetered (bool enabled)

Public Attributes

uint8_t ssid_length
uint8_t ssid [MAX_WIFI_SSID_SIZE]
uint8_t pass_length
uint8_t pass [MAX_WIFI_PASSWORD_SIZE]
uint16_t flags

Detailed Description

WifiNetwork represents all information required by PowerMon-W to connect to an access point.

Member Enumeration Documentation

◆ SecurityMode

Enumerator
OPEN 

No security.

WEP 

Use WEP.

WPA2_WPA1_PSK 

Use WPA1 or WPA2.

WPA2_PSK 

Use only WPA2.

WPA3_SAE 

Use WPA3 (STA mode only)


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