1 Star 0 Fork 4.9K

famoustang / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
wifi_hotspot_config-h.md 6.50 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

wifi_hotspot_config.h

Overview

Related Modules:

Wifiservice

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.

1
https://gitee.com/famoustang/docs.git
git@gitee.com:famoustang/docs.git
famoustang
docs
docs
master

搜索帮助