CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
cdc::ui::WifiWizard Struct Reference

#include <WifiHandlers.h>

Public Member Functions

void reset ()
 Resets Wi-Fi wizard state to defaults.

Public Attributes

char ssid [33] = {}
char password [65] = {}
hal::WifiSecurity security = hal::WifiSecurity::WPA2_PSK
bool useDhcp = true
char staticIp [16] = {}
char gateway [16] = {}
char netmask [16] = "255.255.255.0"
bool fromScan = false

Detailed Description

Definition at line 16 of file WifiHandlers.h.

Member Function Documentation

◆ reset()

void cdc::ui::WifiWizard::reset ( )

Resets Wi-Fi wizard state to defaults.

Returns
void

Definition at line 21 of file WifiHandlers.cpp.

References netmask, and useDhcp.

Referenced by cdc::os_ui::SystemSettingsBackup::importSystemSettings(), and cdc::ui::wifiSetup().

Member Data Documentation

◆ fromScan

bool cdc::ui::WifiWizard::fromScan = false

Definition at line 24 of file WifiHandlers.h.

◆ gateway

char cdc::ui::WifiWizard::gateway[16] = {}

◆ netmask

char cdc::ui::WifiWizard::netmask[16] = "255.255.255.0"

Definition at line 23 of file WifiHandlers.h.

Referenced by cdc::os_ui::SystemSettingsBackup::importSystemSettings(), and reset().

◆ password

char cdc::ui::WifiWizard::password[65] = {}

◆ security

hal::WifiSecurity cdc::ui::WifiWizard::security = hal::WifiSecurity::WPA2_PSK

◆ ssid

char cdc::ui::WifiWizard::ssid[33] = {}

◆ staticIp

char cdc::ui::WifiWizard::staticIp[16] = {}

◆ useDhcp

bool cdc::ui::WifiWizard::useDhcp = true

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