1 Star 0 Fork 5.3K

baiyun / docs

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

wifi_device_config.h

Overview

Related Modules:

Wifiservice

Description:

Defines the Wi-Fi station configuration.

The Wi-Fi station configuration includes the security type and data length.

Since:

1.0

Version:

1.0

Summary

Data Structures

Data Structure Name

Description

WifiDeviceConfig

Represents the Wi-Fi station configuration used to connect to a specified Wi-Fi device.

WifiScanParams

Represents the Wi-Fi station configuration used to connect to a specified Wi-Fi device.

Macros

Macro Name and Value

Description

WIFI_MAX_CONFIG_SIZE 10

Indicates the maximum number of Wi-Fi station configurations that can be added using AddDeviceConfig.

WIFI_CONFIG_INVALID (-1)

Indicates the value of networkId when the configuration file is unavailable.

WIFI_MAX_SSID_LEN 33

Indicates the maximum length of a Wi-Fi SSID.

WIFI_MAX_KEY_LEN 65

Indicates the maximum length of a Wi-Fi key.

WIFI_MAC_LEN 6

Indicates the maximum length of a Wi-Fi MAC address or a Wi-Fi BSSID.

WIFI_PSK_LEN 32

Indicates the maximum length of a Wi-Fi PSK.

Typedefs

Typedef Name

Description

WifiDeviceConfig

typedef struct WifiDeviceConfig

Represents the Wi-Fi station configuration used to connect to a specified Wi-Fi device.

Enumerations

Enumeration Name

Description

WifiSecurityType { WIFI_SEC_TYPE_INVALID = -1, WIFI_SEC_TYPE_OPEN, WIFI_SEC_TYPE_WEP, WIFI_SEC_TYPE_PSK, WIFI_SEC_TYPE_SAE }

Enumerates Wi-Fi security types.

WifiPskType { WIFI_PSK_TYPE_ASCII = 0, WIFI_PSK_TYPE_HEX }

Enumerates psk encryption types.

WifiScanType { WIFI_FREQ_SCAN, WIFI_SSID_SCAN, WIFI_BSSID_SCAN, WIFI_BAND_SCAN }

Enumerates Wi-Fi scan types.

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

搜索帮助