MT7687 API Reference  LinkIt SDK v4
wifi_ap_config_t Struct Reference

This structure is the Wi-Fi configuration for initialization in AP mode. More...

#include <wifi_api.h>

Data Fields

uint8_t ssid [WIFI_MAX_LENGTH_OF_SSID]
 The SSID of the AP. More...
 
uint8_t ssid_length
 The length of the SSID. More...
 
uint8_t password [WIFI_LENGTH_PASSPHRASE]
 The password of the AP. More...
 
uint8_t password_length
 The length of the password. More...
 
wifi_auth_mode_t auth_mode
 The authentication mode. More...
 
wifi_encrypt_type_t encrypt_type
 The encryption mode. More...
 
uint8_t channel
 The channel. More...
 
uint8_t bandwidth
 The bandwidth that is either WIFI_IOT_COMMAND_CONFIG_BANDWIDTH_20MHZ or WIFI_IOT_COMMAND_CONFIG_BANDWIDTH_40MHZ. More...
 
wifi_bandwidth_ext_t bandwidth_ext
 The bandwidth extension. More...
 

Detailed Description

This structure is the Wi-Fi configuration for initialization in AP mode.

Field Documentation

wifi_auth_mode_t auth_mode

The authentication mode.

uint8_t bandwidth
wifi_bandwidth_ext_t bandwidth_ext

The bandwidth extension.

It is only applicable when the bandwidth is set to WIFI_IOT_COMMAND_CONFIG_BANDWIDTH_40MHZ.

uint8_t channel

The channel.

wifi_encrypt_type_t encrypt_type

The encryption mode.

uint8_t password[WIFI_LENGTH_PASSPHRASE]

The password of the AP.

uint8_t password_length

The length of the password.

uint8_t ssid[WIFI_MAX_LENGTH_OF_SSID]

The SSID of the AP.

uint8_t ssid_length

The length of the SSID.


The documentation for this struct was generated from the following file: