Kopīgot, izmantojot


WifiConfig_ConnectedNetwork Struct

Header: #include <applibs/wificonfig.h>

The properties of a connected Wi-Fi network, which represent a 802.11 Basic Service Set (BSS).

Note

This is an alias to a versioned structure. Define WIFICONFIG_STRUCTS_VERSION to use this alias.

struct WifiConfig_ConnectedNetwork {
    uint32_t z__magicAndVersion;
    uint8_t ssid[WIFICONFIG_SSID_MAX_LENGTH];
     uint8_t bssid[WIFICONFIG_BSSID_BUFFER_SIZE];
    uint8_t ssidLength;
    WifiConfig_Security_Type security;
    uint32_t frequencyMHz;
    int8_t signalRssi;
};

Members

uint32_t z__magicAndVersion

A magic number that uniquely identifies the struct version.

uint8_t ssid

The fixed length buffer that contains the SSID.

uint8_t bssid

The fixed length buffer that contains the BSSID.

uint8_t ssidLength

The size of the SSID element in bytes.

WifiConfig_Security_Type security

The WifiConfig_Security value that specifies the security key setting.

uint32_t frequencyMHz

The BSS center frequency in MHz.

int8_t signalRssi

The RSSI (Received Signal Strength Indicator) value.