Skip to content

WiFi Configs

suraj inamdar edited this page Apr 22, 2020 · 1 revision

WiFi Configs

WiFi configs are kept in WiFiConfig.h file under config folder. this file holds the wifi table structure in database and some web behaviour control parameters

wifi_configs is wifi table which consist

  • sta_ssid : station ssid to which device should connect
  • sta_password : password for station ssid
  • ap_ssid : access point ssid for device own network
  • ap_password : password for access point

and local ip, gateway and subnet mask for both networks i.e. station and access point

Allow WiFi Config Modification from portal

This defines allow of wifi settings update from web portal

/**
 * enable/disable wifi config modification here
 */
#define ALLOW_WIFI_CONFIG_MODIFICATION
#define ALLOW_WIFI_SSID_PASSKEY_CONFIG_MODIFICATION_ONLY
Clone this wiki locally