Get information about the current Wi-Fi connection
Returns information about the current Wi-Fi connection.
Responses
- 200
- 401
- 404
- 503
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- ssid string
Name of Wi-Fi network
- dbi integer
Signal strength of Wi-Fi network
- mac string
MAC address of the access point
{
"ssid": "My access point",
"dbi": -64,
"mac": "70:69:79:EF:FF:FF"
}
{
"ssid": "wifi0",
"dbi": -50,
"mac": ""
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
Error information
{
"error": "Log In"
}
{
"error": "Log In"
}
This function is only available with Wi-Fi module
- Wi-Fi is disabled
- Not connected to Wi-Fi
- application/json
- Schema
- Example (from schema)
Schema
- error string
Error information
{
"error": "Wrong JSON body"
}
Loading...