MT7687 API Reference  LinkIt SDK v4
wifi_sta_config_t Struct Reference

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

#include <wifi_api.h>

Data Fields

uint8_t ssid [WIFI_MAX_LENGTH_OF_SSID]
 The SSID of the target AP. More...
 
uint8_t ssid_length
 The length of the SSID. More...
 
uint8_t bssid_present
 The BSSID is present if it is set to 1. More...
 
uint8_t bssid [WIFI_MAC_ADDRESS_LENGTH]
 The MAC address of the target AP. More...
 
uint8_t password [WIFI_LENGTH_PASSPHRASE]
 The password of the target AP. More...
 
uint8_t password_length
 The length of the password. More...
 

Detailed Description

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

Field Documentation

uint8_t bssid[WIFI_MAC_ADDRESS_LENGTH]

The MAC address of the target AP.

uint8_t bssid_present

The BSSID is present if it is set to 1.

Otherwise, it is set to 0.

uint8_t password[WIFI_LENGTH_PASSPHRASE]

The password of the target AP.

uint8_t password_length

The length of the password.

If the length is 64, the password is regarded as PMK.

uint8_t ssid[WIFI_MAX_LENGTH_OF_SSID]

The SSID of the target AP.

uint8_t ssid_length

The length of the SSID.


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