Skip to content

Window

Functionality related to device listening windows

get

Hunts the listening window on a device

Parameters

deviceId : mac address for the device

Example

meshtech/diagnostics/cc3fc0fa8d21/command/device/window/get
{
  "id":"10",
  "params":{
    "deviceId":"CC3FC0FA8D21"
  }
}
meshtech/diagnostics/cc3fc0fa8d21/response/device/window/get
{
  "id":"10",
  "success":true,
  "result":"Got listening window from CC3FC0FA8D21: 45%"
}

Set

Set the listening window on a device

Parameters

deviceId : mac address for the device percentage : The window listening size in percentage of time

Example

meshtech/diagnostics/cc3fc0fa8d21/command/device/window/set
{
  "id":"10",
  "params":{
    "deviceId":"CC3FC0FA8D21",
    "percentage":"55"
  }
}
meshtech/diagnostics/cc3fc0fa8d21/response/device/window/set
{
  "id":"10",
  "success":true,
  "result":"Set scan window to 55 on CC3FC0FA8D21"
}