28 */ |
28 */ |
29 typedef struct { |
29 typedef struct { |
30 bool AP_active; ///< Is the AP active. |
30 bool AP_active; ///< Is the AP active. |
31 uint8_t AP_clients; ///< Connected AP clients. |
31 uint8_t AP_clients; ///< Connected AP clients. |
32 bool STA_connected; ///< Connected to AP as station. |
32 bool STA_connected; ///< Connected to AP as station. |
|
33 bool STA_online; ///< Connected and online. |
33 char STA_ssid[33]; ///< Connected to this SSID. |
34 char STA_ssid[33]; ///< Connected to this SSID. |
34 int8_t STA_rssi; ///< Signal strength. |
35 int8_t STA_rssi; ///< Signal strength. |
35 char STA_ip[16]; ///< IP address. |
36 char STA_ip[16]; ///< IP address. |
36 char STA_nm[16]; ///< IP netmask. |
37 char STA_nm[16]; ///< IP netmask. |
37 char STA_gw[16]; ///< IP gateway. |
38 char STA_gw[16]; ///< IP gateway. |