structure for Access Point info More...
#include <wifi_common_hal.h>
Data Fields | |
| CHAR | sta_SSID [64] |
| CHAR | sta_BSSID [64] |
| CHAR | sta_BAND [16] |
| CHAR | sta_SecMode [64] |
| CHAR | sta_Encryption [64] |
| FLOAT | sta_PhyRate |
| FLOAT | sta_Noise |
| FLOAT | sta_RSSI |
| UINT | sta_Frequency |
| UINT | sta_LastDataDownlinkRate |
| UINT | sta_LastDataUplinkRate |
| UINT | sta_Retransmissions |
structure for Access Point info
| CHAR sta_BAND[16] |
The BAND used for connected SSID. Possible values {5GHz, 2.4GHz}
| CHAR sta_BSSID[64] |
The BSSID used for connected SSID. MAC will be of AA:BB:CC:DD:EE:FF format
| CHAR sta_Encryption[64] |
WiFi Encryption Type. Possible values {AES, TKIP}
| UINT sta_Frequency |
Current Operating Frequency. Possible values {2412, 2417, 2422, 2427, 2432, 2437, 2442, 2447, 2452, 2457, 2462, 2467, 2472, 5160, 5180, 5200, 5220, 5240, 5260, 5280, 5300, 5320, 5340, 5480, 5500, 5520, 5540, 5560, 5580, 5600, 5620, 5640, 5660, 5680, 5700, 5720, 5745, 5765, 5785, 5805, 5825, 5845, 5865, 5885}
| UINT sta_LastDataDownlinkRate |
The data transmit rate in kbps that was most recently used for transmission from the access point to the end point device. Range is [1000, 600000]
| UINT sta_LastDataUplinkRate |
The data transmit rate in kbps that was most recently used for transmission from the end point to the access point device. Range is [1000, 600000]
| FLOAT sta_Noise |
Indicator of average noise strength (in dBm) received from the connected Wi-Fi radio. Range is [-200, 0]
| FLOAT sta_PhyRate |
Indicates the Physical rate (Mbps). Range is [1, 2.4 * 1024]
| UINT sta_Retransmissions |
The number of packets that had to be re-transmitted, from the last 100 packets sent to the access point. Multiple re-transmissions of the same packet count as one. Range is [0, 100]
| FLOAT sta_RSSI |
RSSI value in dBm. Range is [-200, 0]
| CHAR sta_SecMode[64] |
WiFi Security Mode. Possible values {None, WEP, WPA, WPA2, WPA3, WPA-WPA2, WPA2-WPA3, WPA-Enterprise, WPA2-Enterprise, WPA-WPA2-Enterprise}
| CHAR sta_SSID[64] |
The current connected SSID name. SSID can be any string up to 32 characters in length, including 0 length. The value MAY be empty for hidden SSIDs