WiFi
Page WIFI (PageID 2). The ID column is the parameter_id you pass in a GET_PARAMETER request.
| ID | Parameter name | TYPE | Read | Write | Default value | Description |
|---|---|---|---|---|---|---|
| 0 | WIFI_PARAMETER_COUNT |
Uint32 | 0 | Number of parameters on this page | ||
| 1 | WIFI_MODE |
Wifi_Mode |
WIFI_SOFTAP |
AP, Station or soft AP mode | ||
| 2 | STA_SECURITY |
Wifi_AuthMode |
WIFI_AUTH_OPEN |
Authentication | ||
| 3 | STA_SSID |
String | "" | SSID to connect | ||
| 4 | STA_WPA2_PSK |
String | "" | Password | ||
| 5 | STA_DHCP_CLIENT_ENABLED |
Bool | True | Obtain IP address from gateway | ||
| 6 | STA_IPV4_ADDRESS |
Uint32 | 0 | Fixed IP address | ||
| 7 | STA_DEFAULT_GATEWAY |
Uint32 | 0 | Default gateway | ||
| 8 | STA_SUBNET_MASK |
Uint32 | 0xFFFFFF | Default subnet | ||
| 9 | STA_RECONNECT_ATTEMPTS |
Uint32 | 0 | How many times to try | ||
| 10 | STA_RSSI |
Int32 | 0 | Current signal strength | ||
| 11 | STA_MAC_ADDR |
String | "" | MAC address station connected | ||
| 14 | AP_SSID |
String | "" | SSID Ravas RedBox | ||
| 15 | AP_WPA2_PSK |
String | "PASSWORD" | Password Ravas Redbox | ||
| 16 | AP_ACTIVE |
Bool | False | Acces-Point active | ||
| 17 | STA_CONNECTED |
Bool | False | Station is connected | ||
| 18 | STA_CONNECT_STATE |
Wifi_ConnectState |
SUCCESS |
Result of the last attempt to join a network | ||
| 20 | MAC_ADDR |
String | "" | MAC address Ravas RedBox | ||
| 21 | ROAMING_RSSI_THRESHOLD |
Int32 | Signal strength below which the device looks for a better access point |
Note
STA_CONNECT_STATE keeps reporting the last failure until you acknowledge it with the WIFI_CLEAR_MESSAGE request.