Commissioning
The commissioning request provides the information about the state of the device.
Example:
When the device is in the commissioning mode:
GET https://192.168.2.1/api/commissioning?token=A97917AEEE53CFC4BD0A136C1909B5A
Status: HTTP /1.1 200 OK
{
"code" : 200,
"status" : "success"
}
When the device is in the normal mode:
GET https://192.168.2.1/api/commissioning?token=A97917AEEE53CFC4BD0A136C1909B5A
Status: HTTP /1.1 200 OK
{
"code" : 400,
"error" : "commissioning is finished",
"status" : "fail"
}