Skip to main content
POST
/
device
/
maintenance
/
command
Send Maintenance Command
curl --request POST \
  --url https://api.hapticsconnect.com/device/maintenance/command \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "command": "START_CALIBRATION"
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The maintenance command of the device.

command
enum<string>

The maintenance command to be sent to the device.

START_CALIBRATION: Start calibration of the device. Receiver finds lowest & highest mechanical positions & lowest & highest hall sensor positions. Can be entered from device menu or by WiFi mode service command.

START_OTA: Start OTA update of the device. Device checks lates available firmware from haptics-connect server & prompts user to confirm update if it`s available. Can be entered from WiFi mode with service command, or by initiating update from device menu while being connected to WiFi.

Available options:
START_CALIBRATION,
START_OTA
Example:

"START_CALIBRATION"

Response

200

OK