Skip to content

Mode

Functionality related to device mode management

switch

Switch device mode

Parameters

  • deviceId : device mac address
  • deviceMode: dfu | connected | storage | unconnected | wristband

Example

meshtech/diagnostics/cc3fc0fa8d21/command/device/mode/switch
{
  "id":"10",
  "params":{
    "deviceId":"FA2373DC17E8",
    "deviceMode": "connected"
  }
}
Response:
meshtech/diagnostics/cc3fc0fa8d21/response/device/mode/switch
{
  "id": "10",
  "success": true,
  "result":{
    "result":"Switching device FA2373DC17E8 to mode Connected succeeded"
  }
}