Skip to content

Property

Functionality related to properties

Write

Write property

Parameters

  • deviceId : Device
  • propertyId : Property Id (hex)
  • value : Value (hex)
  • priority : Priority (0-4, default 2)

Example

Sending : meshtech/diagnostics/cc3fc0fa8d21/command/property/write
{
  "id":"13",
  "params":{
    "deviceId":"E4EBC3F77F09",
    "propertyId":"8000",
    "value":"0005",
    "priority":2
  }
}
Response: meshtech/diagnostics/cc3fc0fa8d21/response/property/write
{
  "id":"13",
  "success":true,
  "result":"Property 8000 successfully written to 0005 on device E4EBC3F77F09"
}

Write-empty

Write property to empty value

Parameters

  • deviceId : Device
  • propertyId : Property Id (hex)
  • priority : Priority (0-4, default 2)

Example

Sending : meshtech/diagnostics/cc3fc0fa8d21/command/property/write-empty
{
  "id":"14",
  "params":{
    "deviceId":"E4EBC3F77F09",
    "propertyId":"8000",
    "priority":2
  }
}
Response: meshtech/diagnostics/cc3fc0fa8d21/response/property/write-empty
{
  "id":"14",
  "success":true,
  "result":"Property 8000 successfully written to empty value on device E4EBC3F77F09"
}

Read

Read property

Parameters

  • deviceId : Device
  • propertyId : Property Id (hex)
  • priority : Priority (0-4, default 2)

Example

Sending : meshtech/diagnostics/cc3fc0fa8d21/command/property/read
{
  "id":"15",
  "params":{
    "deviceId":"E4EBC3F77F09",
    "propertyId":"8000",
    "priority":2
  }
}
Response: meshtech/diagnostics/cc3fc0fa8d21/response/property/read
{
  "id":"15",
  "success":true,
  "result":"Value of property 8000 of device E4EBC3F77F09 is 0003"
}

List

List cached properties

Parameters

  • deviceId : Device

Example

Sending : meshtech/diagnostics/cc3fc0fa8d21/command/property/list
{
  "id":"16",
  "params":{
    "deviceId":"E4EBC3F77F09"
  }
}
Response: meshtech/diagnostics/cc3fc0fa8d21/response/property/list
{
  "id":"16",
  "success":true,
  "result":[
    {
      "property":"8000",
      "value":"0005",
      "reported":879,
      "updated":1160
    },
    {
      "property":"8001",
      "value":"19000003",
      "reported":1101,
      "updated":1101
    },
    {
      "property":"8002",
      "value":"0300",
      "reported":1100,
      "updated":1100
    },
    {
      "property":"8007",
      "value":"FF",
      "reported":879,
      "updated":1160
    },
    {
      "property":"8020",
      "value":"02",
      "reported":1100,
      "updated":1100
    },
    {
      "property":"8100",
      "value":"28",
      "reported":1100,
      "updated":1100
    },
    {
      "property":"8101",
      "value":"00002EE3",
      "reported":1099,
      "updated":1099
    },
    {
      "property":"8110",
      "value":"02",
      "reported":1099,
      "updated":1099
    },
    {
      "property":"8120",
      "value":"FF",
      "reported":1098,
      "updated":1098
    },
    {
      "property":"8202",
      "value":"00",
      "reported":1098,
      "updated":1098
    },
    {
      "property":"8204",
      "value":"003C",
      "reported":1098,
      "updated":1098
    },
    {
      "property":"8810",
      "value":"00",
      "reported":20,
      "updated":1101
    },
    {
      "property":"9002",
      "value":"00",
      "reported":1096,
      "updated":1096
    },
    {
      "property":"9006",
      "value":"000000000000",
      "reported":1097,
      "updated":1097
    },
    {
      "property":"9100",
      "value":"CC",
      "reported":879,
      "updated":879
    },
    {
      "property":"9900",
      "value":"00000000",
      "reported":1095,
      "updated":1095
    }
  ]
}