Set Wi-Fi mode
Set Wi-Fi mode
- application/json
Request Body
Set Wi-Fi mode
- mode integer required
-1 - disabled, 0 - connect to other networks, 1 - access point
Responses
- 200
- 401
- 404
OK
Please log in
- application/json
- Schema
- Example (from schema)
- Example
Schema
error object
Describes the base error user might get
code stringPossible values: [
invalid_authentication
,permission_denied
,not_valid
,system_error
]Error code
message stringError message
data object
Did not pass validation parameters. Can be represented as an object, which can include field names, arrays, query parameters etc.
param stringDescribes the parameter that did not pass a validation
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be a string"
}
}
}
{
"error": {
"code": "invalid_authentication",
"message": "Log In"
}
}
This function is only available with Wi-Fi module
Loading...