语言
Service tree
门锁#3 · lock属性 5事件 2
门锁
#3 · lock
Properties
锁动作
#1 · lock-action
- 格式
- uint8
- 读写
- 值
- 0门外开锁1上锁2开启反锁3关闭反锁4门内开锁5门内上锁6开启童锁7关闭童锁8门外上锁
操作方式
#2 · operation-method
- 格式
- uint8
- 读写
- 值
- 0BLE1密码2指纹3机械钥匙4转盘5NFC6一次性密码7周期性密码8胁迫10人工11自动
操作ID
#3 · operation-id
- 格式
- uint16
- 读写
- 值
- 0 ~ 65535,步长 1
当前时间(unix timestamp)
#4 · current-time
- 格式
- uint32
- 读写
- 值
- 0 ~ 4294967295,步长 1
异常情况
#5 · abnormal-condition
- 格式
- uint8
- 读写
- 值
- 0密码频繁开锁失败1指纹频繁开锁失败2门铃3有人撬门4系统锁定5钥匙盖异常6门锁电量低(一般指低于百分之十)7锁常开8NFC频繁开锁失败9超时上锁10超时未按要求反锁11门虚掩12超时未按要求上锁13挟持报警14开门15关门
Events
锁事件
#1020 · lock-event
触发参数
#1锁动作uint8#2操作方式uint8#3操作IDuint16#4当前时间(unix timestamp)uint32
发生异常
#1007 · exception-occurred
触发参数
#5异常情况uint8
门#4 · door
门
#4 · door
电池#5 · battery属性 1
电池
#5 · battery
Properties
电池电量
#1003 · battery-level
- 格式
- uint8
- 读写
- N / R
- 值
- 0 ~ 100,步长 1
门铃#6 · doorbell
门铃
#6 · doorbell
BLE专用自定义服务(ble专用,事件参数总长度不能超过9字节)#7 · customized-service-for-ble
BLE专用自定义服务(ble专用,事件参数总长度不能超过9字节)
#7 · customized-service-for-ble
