# HotspotConfig ## **Overview** **Related Modules:** [Wifiservice](Wifiservice.md) **Description:** Represents the hotspot configuration. A hotspot configuration must contain the SSID \(or BSSID\), security type, and key \(if the security type is open\). **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Data Fields

Variable Name

Description

ssid [WIFI_MAX_SSID_LEN]

char 

securityType

int 

band

int 

channelNum

int 

preSharedKey [WIFI_MAX_KEY_LEN]

char 

## **Details** ## **Field Documentation** ## band ``` int HotspotConfig::band ``` **Description:** Frequency band ## channelNum ``` int HotspotConfig::channelNum ``` **Description:** Channel number ## preSharedKey ``` char HotspotConfig::preSharedKey[[WIFI_MAX_KEY_LEN](Wifiservice.md#ga6017e2d011b6cffcd3663db81a2b52d8)] ``` **Description:** Key. For its length, see [WIFI\_MAX\_SSID\_LEN](Wifiservice.md#ga7e01d8c5079081de486637b4482c937a). ## securityType ``` int HotspotConfig::securityType ``` **Description:** Security type ## ssid ``` char HotspotConfig::ssid[[WIFI_MAX_SSID_LEN](Wifiservice.md#ga7e01d8c5079081de486637b4482c937a)] ``` **Description:** [Service](Service.md) set ID \(SSID\). For its length, see [WIFI\_MAX\_SSID\_LEN](Wifiservice.md#ga7e01d8c5079081de486637b4482c937a).