Send Maintenance Command
Send a maintenance command to the device.
Authorizations
Short-lived session token obtained from POST /api/sessions/v2.
Send it as Authorization: Bearer <session_token> together with the X-Device-Key: <device-key> header identifying the target device.
Headers
Device Key (4 BIP39 words) identifying the target device.
Obtain it from POST /device/otp/confirm/v2.
^[a-z]+-[a-z]+-[a-z]+-[a-z]+$"alpha-bravo-charlie-delta"
Body
The maintenance command of the device.
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.
SET_CURRENT_SCREEN: Navigate the device display to a specific screen. Requires screen_id field in the request body.
START_CALIBRATION, START_OTA, SET_CURRENT_SCREEN "START_CALIBRATION"
Screen to navigate to. Required when command is SET_CURRENT_SCREEN. Ignored for other commands.
Available values: 2 (Main), 3 (Manual), 5 (Settings), 6 (WiFi), 7 (BLE),
8 (Range Adjustment), 9 (Speed Adjustment), 10 (Brightness), 11 (Info),
12 (Calibration), 13 (Firmware Update), 14 (OTP), 15 (Reset Settings).
2 <= x <= 156
Response
OK