Get current Wi-Fi settings
Returns Wi-Fi settings. If DHCP option is enabled, response will contain settings gained from DHCP server.
Responses
- 200
- 401
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- dhcp booleanis dhcp turned on? true - on / false - off 
- ip_address ipv4ipv4 address of device 
- mask ipv4mask used by device 
- gateway ipv4gateway used by device 
- dns ipv4dns in ipv4 format used by device 
{
  "dhcp": false,
  "ip_address": "192.168.1.96",
  "mask": "255.255.255.0",
  "gateway": "192.168.1.1",
  "dns": "8.8.8.8"
}
{
  "dhcp": false,
  "ip_address": "192.168.3.96",
  "mask": "255.255.255.0",
  "gateway": "192.168.1.1",
  "dns": "8.8.8.8"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error stringerror message 
{
  "error": "Log In"
}
{
  "error": "Log In"
}
This function is only available with Wi-Fi module
Loading...