ModuleLockCap capability message in JSON format
{
"ModuleLockCap":{
"id":{
/*required, No.*/
"@min": ,
"@max":
},
"type":{
/*required, module type: "localKeypad"-local keypad, "keypad"-keypad, "cardReader"-card reader, "localCardReader"-local card reader*/
"@opt":["localKeypad","keypad","cardReader","localCardReader"]
},
"status":{
/*optional, read-only, status: "lock"-locked, "unlock"-unlocked*/
"@opt":["lock","unlock"]
},
"maxTryTimes":{
/*optional, maximum number of failed attempts*/
"@min": ,
"@max":
},
"lockedTime":{
/*optional, locking duration, unit: second*/
"@min": ,
"@max":
},
"address":{
/*optional, read-only, module address, this node is only returned by wired modules*/
"@opt":[1,2,3]
},
"sirenAttrib":{
/*optional, read-only, siren attribute: "wired", "wireless"*/
"@opt":["wired","wireless"]
},
"isSupportAlwaysLocked":true
/*whether to support configuration of remaining locked (whether to support setting lockedTime to 0): "true"-yes, this node is not returned-no*/
}
}