Lock
Device network lock
Get
Get network lock for connected device
Parameters
deviceId : device mac address
Example
meshtech/diagnostics/cc3fc0fa8d21/command/device/lock/get
{
"id":"70",
"params":{
"deviceId":"CAF8BAE9ED07"
}
}
meshtech/diagnostics/cc3fc0fa8d21/response/device/lock/get
{
"id":"70",
"success":true,
"result":"Got lock from CAF8BAE9ED07: 42"
}
Set
Set network lock for connected device
Parameters
deviceId : device mac address
networkLock : lock byte
Example
meshtech/diagnostics/cc3fc0fa8d21/command/device/lock/set
{
"id":"71",
"params":{
"deviceId":"CAF8BAE9ED07",
"networkLock":"42"
}
}
meshtech/diagnostics/cc3fc0fa8d21/response/device/lock/set
{
"id":"71",
"success":true,
"result":"Set lock to 42 on CAF8BAE9ED07"
}