# wifi\_hotspot\_config.h ## **Overview** **Related Modules:** [Wifiservice](Wifiservice.md) **Description:** Defines the Wi-Fi hotspot configuration. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Data Structures

Data Structure Name

Description

HotspotConfig

Represents the hotspot configuration.

## Macros

Macro Name and Value

Description

WIFI_MAX_STA_NUM   6

Defines the maximum number of stations connected to a hotspot.

## Enumerations

Enumeration Name

Description

RssiLevel { RSSI_LEVEL_1 = 1, RSSI_LEVEL_2 = 2, RSSI_LEVEL_3 = 3, RSSI_LEVEL_4 = 4 }

Enumerates received signal strength indicator (RSSI) levels.

HotspotBandType { HOTSPOT_BAND_TYPE_2G = 1, HOTSPOT_BAND_TYPE_5G = 2 }

Enumerates frequency bands supported by the Wi-Fi hotspot mode.

## Functions

Function Name

Description

SetBand (int band)

WifiErrorCode 

Sets the frequency band for this hotspot.

GetBand (int *result)

WifiErrorCode 

Obtains the frequency band of this hotspot.