OPEN_DOOR
BLE Endpoint
Overview
The OPEN_DOOR
endpoint is used to command the COP to open the lift door and hold the door open for a predetermined amount of time in milliseconds.
BLE Request from Robot to COP
An example BLE request with a predetermined hold door duration of 3000ms.
{
"code": "OPEN_DOOR",
"duration": 3000
}
BLE Response from COP to Robot
Success:
{
"code": "INFO",
"value": "OK: Opened door"
}
Failure:
Missing duration field
{
"code": "ERROR",
"value": "Bad Request: Duration missing."
}