Struct WifiConfig_StoredNetworkWifiConfig_StoredNetwork Struct
Intestazione: #include <applibs/wificonfig.h>Header: #include <applibs/wificonfig.h>
Le proprietà di una rete Wi-Fi archiviata, che rappresenta un set di servizi 802.11.The properties of a stored Wi-Fi network, which represents a 802.11 Service Set.
Nota
Questo è un alias per una struttura con versione.This is an alias to a versioned structure. Per usare questo alias, definire WIFICONFIG_STRUCTS_VERSION.Define WIFICONFIG_STRUCTS_VERSION to use this alias.
struct WifiConfig_StoredNetwork {
uint32_t z__magicAndVersion;
uint8_t ssid[WIFICONFIG_SSID_MAX_LENGTH];
uint8_t ssidLength;
bool isEnabled;
bool isConnected;
WifiConfig_Security_Type security;
};
MembersMembers
uint32_t z__magicAndVersionuint32_t z__magicAndVersion
Numero chiave che identifica in modo univoco la versione di uno struct.A magic number that uniquely identifies the struct version.
uint8_t ssiduint8_t ssid
Buffer di lunghezza fissa che contiene l'identificatore SSID.The fixed length buffer that contains the SSID.
uint8_t ssidLengthuint8_t ssidLength
Dimensioni dell'elemento SSID in byte.The size of the SSID element in bytes.
bool isEnabledbool isEnabled
Indica se la rete è abilitata.Indicates whether the network is enabled.
bool isConnectedbool isConnected
Indica se la rete è connessa.Indicates whether the network is connected.
Sicurezza WifiConfig_Security_TypeWifiConfig_Security_Type security
Valore WifiConfig_Security che specifica l'impostazione della chiave di sicurezza.The WifiConfig_Security value that specifies the security key setting.