English
English
简体中文
Contact Us
Register
Log In
layoutIndex

Wi-Fi Lock DP Reference

Last Updated on : 2022-03-02 02:05:45download

DPs of residential lock pro and residential locks

This section describes the data points (DPs) of the current residential lock pro.

The modes in the following table apply to devices:

  • Reporting: The device needs to report the status to the cloud.
  • Sending: The cloud sends the status to the device.

The serial port commands in the table are only for guidance. No specific requirements are defined for these commands.

  • 0x08: This command is used to report the record type of data. We recommend that you use this command to report data for important operations.
  • 0x05: This command is used to report real-time data. This command can be used to report the general interaction data.
Function DP ID Type Description Mode Command Data length Data format
Unlock with fingerprints 1 value A fingerprint is enrolled on the lock, and the ID is assigned by the lock after the enrollment is completed. After the door is unlocked with the fingerprint, the lock reports the DP. Report 0x08 0x04 {“unit”:“”, “min”:0, “max”:999, “scale”:0, “step”:1, “type”:“value”}
Unlock with normal passwords 2 value A normal password is enrolled on the lock, and the ID is assigned by the lock after the enrollment is completed. After the door is unlocked with the password, the lock reports the DP. The normal password is the one created on the lock and does not include the temporary password created on the app. Report 0x08 0x04 {“unit”:“”, “min”:0, “max”:999, “scale”:0, “step”:1, “type”:“value”}
Unlock with temporary passwords 3 value A temporary password created on the app must be reported after the door is unlocked with the temporary password. Report 0x08 0x04 {“unit”:“”, “min”:0, “max”:999, “scale”:0, “step”:1, “type”:“value”}
Unlock with dynamic passwords 4 value After the door is unlocked with the dynamic password, the DP is reported with the specified number 1. If there is a dynamic password record, the app only displays the unlocking method without the specific number. Report 0x08 0x04 {“unit”:“”, “min”:0, “max”:999, “scale”:0, “step”:1, “type”:“value”}
Unlock with cards 5 value - Report 0x08 0x04 {“unit”:“”, “min”:0, “max”:999, “scale”:0, “step”:1, “type”:“value”}
Unlock with face recognition 6 value - Report 0x08 0x04 {“unit”:“”, “min”:0, “max”:999, “scale”:0, “step”:1, “type”:“value”}
Unlock with mechanical keys 7 value - Report 0x08 0x04 {“unit”:“”, “min”:0, “max”:999, “scale”:0, “step”:1, “type”:“value”}
Alerts 8 enum 0=Fingerprint attempt alert
1=Password attempt alert
2=Card attempt alert
3=Face recognition attempt alert
4=False lock (lock tongue stuck)
5=High temperature alert
6=Door is not closed after timeout
7=Electronic lock tongue does not pop out
8=Anti-pry alert
9=Key insertion
10=Low battery alert
11=Out of battery alert
12=Vibration alert.
Report 0x05 0x01 {“range”:[“wrong_finger”, “wrong_password”, “wrong_card”, “wrong_face”, “tongue_bad”, “too_hot”, “unclosed_time”, “tongue_not_out”, “pry”, “key_in”, “low_battery”, “power_off”, “shock”], “type”:“enum”}
Countdown of remote unlocking 9 Value If you want to use the remote unlocking function this DP is required. The lock reports the remote unlocking request after a specifc hardware operation. The request carries a countdown of x seconds. Users must tap Allow on the app within x seconds to remotely unlock the door. x can be less than or equal to 90. After the remote unlocking request is allowed or rejected, the value of this field is changed to 0, and the panel stops flickering. Send 0x05 0x04 {“min”:0, “max”:90, “scale”:0, “step”:1, “type”:“value”}
Reply to a remote unlocking request 10 Bool Used in conjunction with a remote unlocking request and indicates whether to allow or reject the remote unlocking request. Report 0x05 0x01 {“type”:“bool”}
Battery capacity status 11 Enum You must choose one of these options: Power status and power value.
high=high capacity
medium=medium capacity
low=low capacity
poweroff=the battery is running out.
Report 0x08 0x01 {“range”:[“high”, “medium”, “low”, “poweroff”], “type”:“enum”}
Remaining battery capacity 12 value You must choose one of these options: Power status and power value. Report the power value Report 0x08 0x04 {“unit”:“”, “min”:0, “max”:100, “scale”:0, “step”:1, “type”:“value”}
Double locking status 13 bool (Optional) This function is available if there is a sensor on the lock hardware to identify the current double locking status. The DP is only used for status display. The double locking and release operations on the lock hardware will be reported to the server. Report 0x05 0x01 {“type”:“bool”}
Child lock status 14 bool (Optional) Select this function if the lock supports the child lock function. The status value will be reported to the server when the status changes. Report 0x05 0x01 {“type”:“bool”}
Remote control on the app for Wi-Fi locks 15 Value (Optional) If the door is remotely unlocked with the app, the lock reports the remote unlocking record. Report the record type of data Report 0x08 0x04 {“type”:“bool”}
Duress alert 16 Bool (Optional) This feature does not require hardware implementation by default. The lock does not need to determine whether it is a duress event. Only the unlocking ID is recorded on the app. Report 0x05 0x01 {“type”:“bool”}
Unlock from the inside of the door 17 Bool (Optional) Use this DP if the lock supports the unlocking detection of the inner handle, but does not support the detection of the opening/closing action. For example, if an electronic lock body can detect the door opening from the inside, the DP can indicate that the door is opened from the inside, which is reflected in the door opening record. When the inside door opening occurs, report true. If the lock hardware can recognize the door opening and closing event, use the opening and closing status DP 18. Report 0x05 0x01 {“range”:[“mute”, “low”, “normal”, “high”], “type”:“enum”}
Open and closed status of the door 18 enum (Optional) When the lock hardware supports the open and closed status detection, select the DP. Report when the status changes. Report 0x05 0x01 {“range”:[“unknown”, “open”, “closed”], “type”:“enum”}
Doorbell calls 19 Bool (Optional) If the lock hardware has a doorbell feature, after a user presses the doorbell, a doorbell call notification is reported to the cloud. We recommend that continuous doorbell calls trigger only one doorbell call notification is sent. The reporting record will be kept on the app, and push can be triggered. Report 0x05 0x01 {“type”:“bool”}
SMS notification 20 Bool (Paid, optional) Select the DP if you create or modify a temporary password on the app, and want to notify the user of the password through the short message service (SMS). Do not select the DP if the SMS notification function is not required. This function is a paid service. The PID owner’s account needs to be topped up in advance to enable this feature. Report and send 0x05 0x01 {“type”:“bool”}
Double locking by lifting up 21 Bool (Optional) Report the DP after lifting the handle and locking on the outside of the lock.
Double locking=true
No double locking=false
Report 0x05 0x01 {“type”:“bool”}
Unlock with irises 22 Value (Optional) The iris is enrolled on the lock, and the ID is assigned by the hardware after the enrollment is completed. After the lock is unlocked with an iris, the lock will report the DP. Report the record type data. Report 0x08 0x04 {“min”:0, “max”:999, “scale”:0, “step”:1, “type”:“value”}
Unlock with palm prints 23 Value (Optional) The palm print is enrolled on the lock, and the ID is assigned by the hardware after the enrollment is completed. After the lock is unlocked with a palm print, the lock will report the DP. Report the record type data. Report 0x08 0x04 {“min”:0, “max”:999, “scale”:0, “step”:1, “type”:“value”}
Unlock with finger veins 24 Value (Optional) The finger vein is enrolled on the lock, and the ID is assigned by the hardware after the enrollment is completed. After the lock is unlocked with a finger vein, the lock will report the DP. Report the record type data. Report 0x08 0x04 {“min”:0, “max”:999, “scale”:0, “step”:1, “type”:“value”}
Synchronize all fingerprint numbers 25 raw (Optional) Select the DP when all the following conditions are met.
1. The door can be unlocked with a fingerprint.
2. The lock can synchronize the local unlocking method to the server over the network. Usage: When the local fingerprint unlocking method of the lock is changed, added, or deleted, it will trigger synchronization of all fingerprint DPs, and synchronize all the fingerprint unlocking IDs of the lock to the cloud. During the synchronization, all local IDs are synchronized to the cloud.
Report 0x05 N {“type”:“raw”, “maxlen”:128}
Synchronize all password numbers 26 raw (Optional) Select the DP when all the following conditions are met.
1. The door can be unlocked with a password.
2. The lock can synchronize the local unlocking method to the server over the network.
3. The password is the password created on the lock, excluding the temporary password created on the app. Usage: When the local password unlocking method of the lock is changed, added, or deleted, it will trigger synchronization of all password DPs, and synchronize all the password unlocking IDs of the lock to the cloud. During the synchronization, all local IDs are synchronized to the cloud.
Report 0x05 N {“type”:“raw”, “maxlen”:128}
Synchronize all card numbers 27 raw (Optional) Select the DP when all the following conditions are met.
1. The door can be unlocked with a card.
2. The lock can synchronize the local unlocking method to the server through the network. Usage: When the local card unlocking method of the lock is changed, added, or deleted, it will trigger synchronization of all card DPs, and synchronize all the card unlocking IDs of the lock to the cloud.During the synchronization, all local IDs are synchronized to the cloud.
Report 0x05 N {“type”:“raw”, “maxlen”:128}
Synchronize all face numbers 28 raw (Optional) Select the DP when all the following conditions are met.
1. The door can be unlocked with a face.
2. The lock can synchronize the local unlocking method to the server through the network. Usage: When the local face unlocking method of the lock is changed, added, or deleted, it will trigger synchronization of all the face DPs, and synchronize all the face unlocking IDs of the lock to the cloud. During the synchronization, all local IDs are synchronized to the cloud.
Report 0x05 N {“type”:“raw”, “maxlen”:128}
Synchronize all iris numbers 29 raw (Optional) Select the DP when all the following conditions are met.
1. The door can be unlocked with an iris.
2. The lock can synchronize the local unlocking method to the server through the network. Usage: When the local iris unlocking method of the lock is changed, added, or deleted, it will trigger synchronization of all iris DPs, and synchronize all the iris unlocking IDs of the lock to the cloud.
Report 0x05 N {“type”:“raw”, “maxlen”:128}
Synchronize all palm print numbers 30 raw (Optional) Select the DP when all the following conditions are met.
1. The door can be unlocked with a palm print.
2. The lock can synchronize the local unlocking method to the server through the network. Usage: When the local palm print unlocking method of the lock is changed, added, or deleted, it will trigger synchronization of all the palm print DPs, and synchronize all the palm print unlocking IDs of the lock to the cloud. During the synchronization, all local IDs are synchronized to the cloud.
Report 0x05 N {“type”:“raw”, “maxlen”:128}
Synchronize all finger vein numbers 31 raw (Optional) Select the DP when all the following conditions are met.
1. The door can be unlocked with a finger vein.
2. The lock can synchronize the local unlocking method to the server through the network. Usage: When the local finger vein unlocking method of the lock is changed, added, or deleted, it will trigger synchronization of all the finger vein DPs, and synchronize all the finger vein unlocking IDs of the lock to the cloud.
Report 0x05 N {“type”:“raw”, “maxlen”:128}
Report unlocking with offline passwords 32 raw (Optional) This algorithm is implemented by Tuya. After the offline password is used to successfully open the door, it will be reported, and the unlocking record will show the password and unlocking time. Report 0x05 0x01 {“type”:“raw”, “maxlen”:128}
Report the clearing of offline passwords 33 raw (Optional) This algorithm is implemented by Tuya. After you enter the offline clearing code on the lock, the corresponding password is cleared and the clearing record is reported. Report 0x05 0x01 {“type”:“raw”, “maxlen”:128}
Query creation type 34 Bool (Optional) When you create a new unlocking method, the lock reports the DP to query which type to be created. It is used with Reply to creation type. Report 0x05 0x01 {“type”:“bool”}
Reply to creation type 35 Enum (Optional)
1=Fingerprint
2=Card
3=Password
4=Administrator fingerprint
5=Administrator card
6=Administrator password
Report and send 0x05 0x01 {“range”:[“type_finger”, “type_card”, “type_password”, “type_ad_finger”, “type_ad_card”, “type_ad_psw”], “type”:“enum”}
Complete enrollment on the lock 36 Value (Optional) After the enrollment is completed on the lock, report the command. The registration process has not been completed. The lock can be used properly after receiving the command 104. Report 0x05 0x01 {“min”:0, “max”:999, “scale”:0, “step”:1, “type”:“value”}
Successfully create remotely 37 Bool (Optional) After the enrollment is completed, the command must be sent to notify the lock app that the creation process has been completed. Report and send 0x05 0x01 {“type”:“bool”}
Allow remote deletion 38 Bool - Send 0x05 0x01 {“type”:“bool”}
Delete fingerprints remotely 39 Value - Report and send 0x05 0x01 {“min”:0, “max”:999, “scale”:0, “step”:1, “type”:“value”}
Reply to remote creation 40 Bool (Optional) true=Deleted successfully.
false=Failed to delete.
Report 0x05 0x01 {“unit”:“”, “min”:0, “max”:999, “scale”:0, “step”:1, “type”:“value”}
Delete a password remotely 41 Value - Report and send 0x05 0x01 {“min”:0, “max”:999, “scale”:0, “step”:1, “type”:“value”}
Cancel remote creation 42 Bool - Report and send 0x05 0x01 {“type”:“bool”}
Delete cards remotely 43 Value - Report and send 0x05 0x01 {“min”:0, “max”:999, “scale”:0, “step”:1, “type”:“value”}

DPs of residential keep-alive locks

This section describes the DPs of the current residential lock pro.

The modes in the following table apply to the devices. Reporting: The device needs to report the status to the cloud.

Sending: The cloud sends the status to the device.

The serial port commands in the table are only for guidance. No specific requirements on these commands are defined. 0x05 is the command to report the real-time data.

Function DP ID Type Description Mode Command Data length Data format
Add an unlocking method 1 Raw - Report and send 0x05 N {“type”:“raw”, “maxlen”:128}
Delete an unlocking method 2 Raw - Report and send 0x05 N {“type”:“raw”, “maxlen”:128}
Modify an unlocking method 3 Raw - Report and send 0x05 N {“type”:“raw”, “maxlen”:128}
Freeze an unlocking method (numeric type) 4 value - Report and send 0x08 0x04 {“unit”:“”, “min”:0, “max”:999, “scale”:0, “step”:1, “type”:“value”}
Unfreeze an unlocking method (numeric type) 5 value - Report and send 0x08 0x04 {“unit”:“”, “min”:0, “max”:999, “scale”:0, “step”:1, “type”:“value”}
Remaining battery capacity 8 value - Report 0x08 0x04 {“unit”:“”, “min”:0, “max”:999, “scale”:0, “step”:1, “type”:“value”}
Unlock with fingerprints 12 value - Report 0x05 0x04 {“min”:0, “max”:999, “scale”:1, “step”:1, “type”:“value”}
Unlock with normal passwords 13 value - Report 0x05 0x04 {“min”:0, “max”:999, “scale”:1, “step”:1, “type”:“value”}
Unlock with mechanical keys 16 Value - Report 0x05 0x04 {“min”:0, “max”:999, “scale”:1, “step”:1, “type”:“value”}
Door opening and closing event 17 Bool - Report 0x05 0x01 {“type”:“bool”}
Unlock from the inside of the door 18 Bool - Report 0x05 0x01 {“type”:“bool”}
Alerts 21 Enum - Report 0x05 0x01 {“range”:[“wrong_finger”, “wrong_password”, “wrong_card”, “wrong_face”, “tongue_bad”, “too_hot”, “unclosed_time”, “tongue_not_out”, “pry”, “key_in”, “low_battery”, “power_off”, “shock”], “type”:“enum”}
Duress alert 22 Bool - Report and send 0x05 0x01 16

DP development and instructions

DP classification

According to the current general DP types, it can be divided into the following categories:

  • Report the unlocking records

    These unlocking events are reported: Unlock with fingerprints, passwords, cards, face recognition, keys, irises, palm prints, and finger veins, and unlock from the inside of the door.

  • Synchronize the unlocking method

    These unlocking methods are synchronized: all fingerprint numbers, all password numbers, all card numbers, all face numbers, all iris numbers, all palm print numbers, and all finger vein numbers.

  • Display the real-time status of the lock

    These status types are displayed: alerts, battery status, remaining battery capacity, double locking status, child lock status, duress alerts, open and closed status, doorbell calls, double locking by lifting up, and SMS notifications.

  • Unlock with temporary passwords or dynamic passwords

    These functions are supported: unlock with a temporary password, unlock with a dynamic password, report the unlocking with an offline password, and report the clearing event with an offline clearing code.

  • Remote unlocking

    The main DPs involved: Make remote unlocking requests, reply to a remote unlocking request, and unlock the Wi-Fi lock on the app.

  • Remote enrollment of unlocking methods on the app

    The main DPs involved: Query creation type, reply to creation type, complete enrollment on the lock, successfully create remotely, delete a lock remotely, delete a fingerprint remotely, reply to remote deletion, delete a password remotely, cancel remote creation, delete a card remotely, link local capabilities, report administrator passwords, and remote request for live videos.

Synchronize the unlocking methods

When the local unlocking method of the lock is changed, added, or deleted, all the local unlocking method numbers of the lock will be synchronized to the cloud. The unlocking method ID is freely defined by the lock. During reporting, the real-time reporting command in the protocol is used.

Note:

  • Divide the unlocking method into 125 copies, and each with eight passwords corresponds to a byte of eight bits. Then, exactly 1,000 passwords can be stored.

  • The maximum length of the DP data is 255 bytes.

  • byte[0] The sharding position [byte1]

  • The unlocking method on the sharding. If the flag bit of the unlocking method is 1, it indicates that the password exists.

    For example, 00000001 00010011 indicates that the unlocking methods 0, 1, and 4 exist on the first shard.

    01000001 00100101 indicates the position 0, 2, and 5 on the 65th shard (2^6 + 1). The actual password number on the position is 517. The value is based on this calculation: 64*8+5 = 517.

    00000010 00000000 indicates the empty shards to be processed by the hardware. To reduce the actual data length, this status does not need to be synchronized.

    Note: Sharding starts from 1, rather than 0. For example, the eighth password belongs to the second shard. The first shard stores only eight passwords, corresponding to values 0 to 7.

For example,

Function dpid Mode Type (1 byte) Data length (2 bytes) Unlocking method (2 bytes) Description
Synchronize all fingerprint numbers 25 Report 0x00: Raw 0x00 0x02 0x01 0x07 If fingerprint unlocking IDs 1 and 2 exist, the fingerprint unlocking ID 3 is added.

DP of reporting the unlocking records

When an unlocking event occurs, the lock can report the unlocking record. Then, you can view the unlocking records on the app. During reporting, the record type data reporting command in the protocol is used.

  • Fingerprint number, card number, face number, and password number: DP value is used to distinguish the unlocking method number. It ranges from 0 to 999. During reporting, the panel displays the unlocking information of the corresponding number. If the reported fingerprint number DP is 25, the panel will display “25 fingerprint unlock”.
  • Key number, remote temporary password number, dynamic password number, and unlocking from the inside: The DP value has no special meaning—it ranges from 0 to 999. The DP value just keeps the same with the correct data format above. When reporting, the panel only displays the unlocking method, but does not distinguish between unlocking method numbers. If the reported key number DP is 25, the panel will display “key unlock".

For example,

Function DP ID Mode (1 byte) Validity (1 byte) Time (6 bytes) Data length (1 byte) Unlocking method (2 bytes) Description
Unlock with fingerprints 1 Report 0x00: without time.
0x01: Local time.
0x02: GMT.
Time (see Appendix 1) 0x02 0x00 0x04 If you use the No. 1 fingerprint to unlock, 0x00 00 00 01.

DP of displaying the real-time status of the lock

Function dpid Mode Type Data length Content Description
Alerts 8 Report 1 byte
0x04: Enum.
2 bytes.
0x00 0x01.
1 byte.
0x00: Fingerprint attempt alert.
0x01: Password attempt alert.
0x02: Card attempt alert.
0x03: Face recognition attempt alert.
0x04: False lock.
0x05: High temperature alert.
0x06: Door is not closed after timeout.
0x07: Electronic lock tongue not ejected.
0x08: Anti-pry alert.
0x09: Key insertion.
0x0A: Low power alert.
0x0B: Out of battery alert.
0x0C: Vibration alert.
Battery capacity status 11 Report 1 byte
0x04: Enum.
2 bytes.
0x00 0x01.
1 byte.
0x00: High.
0x01: Medium.
0x02: Low.
Remaining battery capacity 12 Report 1 byte.
0x02: Value.
2 bytes.
0x00 0x04.
4 bytes.
0x00 0x00 0x00 0x0A.
10% remaining battery capacity
Double locking status 13 Report 1 byte.
0x01: Boolean.
2 bytes.
0x00 0x01.
1 byte.
0x00: No double locking.
0x01: Double locking.
Child lock switch 14 Report 1 byte.
0x01: Boolean.
2 bytes.
0x00 0x01.
1 byte.
0x00: The child lock is disabled.
0x01: The child lock is enabled.
Duress alert 16 Report 1 byte.
0x01: Boolean.
2 bytes.
0x00 0x01.
1 byte.
0x00: There is no alert.
0x01: There is an alert.
Open and closed status of the door 18 Report 1 byte
0x04: Enum.
2 bytes.
0x00 0x01.
1 byte.
0x00: Unknown.
0x01: Open.
0x02: Closed.
Doorbell calls 19 Report 1 byte.
0x01: Boolean.
2 bytes.
0x00 0x01.
1 byte.
0x00: There is no call.
0x01: There is a call.
SMS notification 20 Report and send 1 byte.
0x01: Boolean.
2 bytes.
0x00 0x01.
1 byte.
0x00: The SMS notification is disabled.
0x01: The SMS notification is enabled.
Double locking by lifting up 21 Report 1 byte.
0x01: Boolean.
2 bytes.
0x00 0x01.
1 byte.
0x00: No double locking.
0x01: Double locking.
Locking status 55 Report and send 1 byte.
0x01: Boolean.
2 bytes.
0x00 0x01.
1 byte.
0x00: Open.
0x01: Closed.

DP of unlocking with a temporary password and a dynamic password

Function DP ID Mode Type Validity Time Data length Unlocking method content Description
Unlock with temporary passwords 3 Report 1 byte.
0x02: Value.
1 byte.
0x00: Without time.
0x01: Local time.
0x02: GMT.
Time (see Appendix 1) 2 bytes.
0x00 0x04.
4 bytes.
0x00 00 03 85.
If you use the No. 1 temporary password to unlock, the password number must be +900.
Unlock with dynamic passwords 4 Report 1 byte.
0x02: Value.
1 byte.
0x00: Without time.
0x01: Local time.
0x02: GMT.
Time (see Appendix 1) 2 bytes.
0x00 0x04.
4 bytes.
0x00 00 03 85.
If you use the No. 1 dynamic password to unlock, the password number must be +900.
Report unlocking with offline passwords 32 Report 1 byte.
0x00: Raw.
1 byte.
0x00: Without time.
0x01: Local time.
0x02: GMT.
Time (see Appendix 1) 2 bytes.
N
N bytes.
0x19 C8 89 FF 76 A2 07 07 B7 14 55 D9 73 AE FB.
For example, the password is 3119412238. The Wi-Fi module processes the password with a specific algorithm, and the MCU responds to the data that is sent by the Wi-Fi module.
Report the clearing of offline passwords 33 Report 1 byte.
0x00: Raw.
1 byte.
0x00: Without time.
0x01: Local time.
0x02: GMT.
Time (see Appendix 1) 2 bytes.
N
N bytes.
0x19 C8 89 FF 76 A2 07 07 B7 14 55 D9 73 AE FB.
For example, the password is 3119412238. The Wi-Fi module processes the password with a specific algorithm, and the MCU responds to the data that is sent by the Wi-Fi module.

DP of remote unlocking

Function DP ID Mode Type Data length Content Description
Countdown of remote unlocking 9 Report 1 byte.
0x02: Value.
2 bytes.
0x00 0x04.
0x00 00 00 3c 60s countdown
Reply to a remote unlocking request 10 Report 1 byte.
0x01: Boolean.
2 bytes.
0x00 0x01.
1 byte.
0x00: Reject.
0x01: Allow.
Remotely unlock the Wi-Fi lock with the app 15 Report 1 byte.
0x02: Value.
2 bytes.
0x00 0x04.

DP of remote enrollment of unlocking methods on the app

Function DP ID Mode Type Data length Content Description
Query creation type 34 Report 1 byte.
0x01: Boolean.
2 bytes.
0x00 0x01.
1 byte.
0x00: Fingerprint attempt alert.
0x01: Password attempt alert.
Reply to creation type 35 Report 1 byte.
0x04: Enum.
2 bytes.
0x00 0x01.
1 byte.
0x00: Fingerprint.
0x01: Card.
0x02: Password.
0x03: Administrator fingerprint.
0x04: Administrator card.
0x05: Administrator password.
Reply to remote creation 37 Send 1 byte.
0x01: Boolean.
2 bytes.
0x00 0x01.
1 byte.
0x00: Failure.
0x01: Success.
Allow remote deletion 38 Report 1 byte.
0x01: Boolean.
2 bytes.
0x00 0x01.
1 byte.
0x00: Reject.
0x01: Allow.
Delete fingerprints remotely 39 Send 1 byte.
0x02: Value.
2 bytes.
0x00 0x04.
4 bytes.
0x00 0x00 0x00 0x0A.
Number 10
Reply to remote creation 40 Report 1 byte.
0x01: Boolean.
2 bytes.
0x00 0x01.
1 byte.
0x00: Failure.
0x01: Success.
Delete a password remotely 41 Send 1 byte.
0x02: Value.
2 bytes.
0x00 0x04.
4 bytes.
0x00 0x00 0x00 0x0A.
Number 10
Cancel remote creation 42 Report and send 1 byte.
0x01: Boolean.
2 bytes.
0x00 0x01.
1 byte.
0x00: Failure.
0x01: Success.
Delete cards remotely 43 Send 1 byte.
0x02: Value.
2 bytes.
0x00 0x04.
4 bytes.
0x00 0x00 0x00 0x0A.
Number 10

Add new DPs on the app remotely

Feature dpid Working mode Type Data length Description Content
Link with local capabilities 60 Report 1 byte.
0x00:
Raw.
2 bytes.
0x00 0x04.
Used with DP 34, DP 62, and DP 37. Linking method Key type (1 byte) Key ID (2 bytes)
00: Default, with no actions.
01: Link all local capabilities.
02: Unlink all capabilities.
11: Link snapshot.
12: Unlink snapshot.
21: Link video shooting.
22: Unlink video shooting.
00: Password.
01: Fingerprint.
02: Card.
03: Face.
04: Finger vein.
05: Palm print.
06: Iris.
0 to 999
Report administrator passwords 61 Report 1 byte.
0x00:
Raw.
2 bytes.
0x00 0x05.
Used with DP 34, DP 35, and DP 37. Type
(1 byte)
ID type
(1 byte)
Operation permission (1 byte) Key ID (2 bytes)
00: Password.
01: Fingerprint.
02: Card.
03: Face.
04: Finger vein.
05: Palm print.
06: Iris.
00: Default, with no actions.
01: Super administrator.
02: General administrator.
00: Not allowed to delete.
01: Allowed to delete.
0 to 999
Complete enrollment on the lock 62 Report 1 byte.
0x00:
Raw.
2 bytes.
0x00 0x05.
Replace the original DP36 lock enrollment completed (Modified from value to raw). Feature
(1 byte)
Unlocking method ID
(2 bytes)
Enrollment result (1 byte) Linking result (1 byte)
00: Enroll the unlocking methods.
01: Link local features. 6: Iris.
0 to 999 00: Default, with no actions.
01: Reached the maximum number of local fingerprints.
02: Reached the maximum number of local passwords.
03: Reached the maximum number of local door cards.
04: Reached the maximum number of local faces.
05: Enrollment timeout.
06: The key already exists.
07: The enrolled key is not a living body.
08: The enrolled valid areas are too few.
09: Dry finger.
10: Wet finger.
11: General error prompt.
00: Default, with no actions.
01: Linked successfully.
02: Failed to link.
Remote request for live video 63 Report and send 1 byte.
0x00:
Raw.
2 bytes.
0x00 0x02.
Report the DP when you need a real-time pop-up window of unlocking requests. Report
Request type (1 byte) Request content (1 byte)
00: Enable the pop-up window.
01: Disable the pop-up window.
00: Remote unlocking request.
01: Loitering snapshot (alarm pop-up window).
Send
Reply type (1 byte) Reply content (1 byte)
00: The pop-up window ends (It is recommended to power off the device).
01: The pop-up window ends (The pop-up window does not disappear, and there are other items to be operated by the user).
03: Start viewing the video.
00: Default operation.
01: Streaming ends properly.
03: Streaming ends due to exceptions.

Appendix 1: Time

Data Description
Data[1] Indicates the year. For example, 0x00 indicates the year 2000.
Data[2] Indicates the month, ranging from 1 to 12.
Data[3] Indicates the day, ranging from 1 to 31.
Data[4] Indicates the hour, ranging from 0 to 23.
Data[5] Indicates the minute, ranging from 0 to 59.
Data[6] Indicates the second, ranging from 0 to 59.