1. Bluetooth command
Smart lock
English
  • 中文
  • English
  • Auth
    • Login
      POST
    • Code
      POST
    • Register
      POST
  • Lock
    • Query all locks held by the current user
      GET
    • Query the current lock details information
      GET
  • Password
    • Query all passwords of the current user
      GET
    • Time-limited password (offline password)
      POST
    • Single-time password (offline password)
      POST
    • Permanent password (offline password)
      POST
    • Clear the password (using this password to unlock, so the password will become invalid)
      POST
    • Cyclic cipher (offline cipher)
      POST
    • Password details
      GET
    • Delete password
      POST
    • Add password interface (to be called after the password is generated)
      POST
    • Change password
      POST
  • Bluetooth command
    • Door Lock Binding (Apartment)
      POST
    • Door Lock Binding (Dlock)
      POST
    • Add Lock Use
      POST
    • Modify Lock User
      POST
    • Delete Lock User
      POST
    • Read Door Lock Settings
      POST
    • Initialize Door Lock
      POST
    • Sync Door Lock Users
      POST
    • Sync Door Lock Operation Records
      POST
    • Get Lock Report Command Operations
      POST
    • Issue Door Lock Settings
      POST
    • Issue 4G Module Association
      POST
    • Issue Door Lock Operations
      POST
  • Card
    • Report card data (add card)
    • Delete Card
    • Get the current user's card list
    • Card Details
    • Modification Card
  • Fingerprint
    • Delete fingerprint
    • Report fingerprint data (add fingerprint)
    • Get the current fingerprint user list
    • Fingerprint Details
    • Modify fingerprint
  • Remote control
    • Delete remote
    • Report remote control data (add remote control)
    • Get the current list of remote control users
    • Remote control details
    • Modify remote control
  • Face
    • Delete face
    • Report facial data (add face)
    • Get the current list of facial recognition users
    • Facial Details
    • Modify face
  • Palm lines
    • Remove palm lines
    • Report palm print data (add palm print)
    • Get the current palm print user list
    • Palm print details
    • Modify palm lines
  • Door lock reports to the update server
    • Delete door lock
    • Save system settings
    • Synchronized door lock records (records not reported by the synchronized lock end)
    • Save lock end user
    • Save door lock settings
    • Save the door lock record, the current command is 0300 to call save
    • Report door lock binding 0700
    • 4G module association reporting
  • Operation Record
    • Get the current user's operation records
    • Delete operation records
    • Door lock records (no alarms)
  • Gateway
    • Query all gateways
    • Send instruction to unbind the gateway-door lock association
    • Unbind Gateway from Server-side User
  • Card issuing machine related interfaces
    • Method 1 for Binding the Card Issuing Machine
    • Method 2 for Binding the Card Issuing Machine
    • Delete card issuer
    • Delete online card
    • Create an online card to door lock device
    • Create an offline card for the hotel apartment
    • Online Card Save
    • Issue command to start collecting fingerprint data
    • Issue the command to stop collecting fingerprint data
    • Unbind card issuing machine
    • Synchronize and send fingerprint data to the door lock device
    • Query all card information based on the cardholder
  • 4G Direct Connection
    • Issue the command to associate the direct connection module with the door lock.
    • Report the association results of the direct connection module
    • Check the status of the direct connection module
    • 4G password delivery
  • 数据模型
    • 数据
    • 上报
    • 修改
    • 上报commonFormatData
    • 离线密码
    • 指令通用数据模型
  1. Bluetooth command

Get Lock Report Command Operations

POST
/locksAesDecrypt
This interface is used to receive and parse the encrypted response packets reported by the door lock device, complete decryption and verification, and return the final status of command execution.
When the device executes instructions issued by the server (such as adding a user, modifying configurations, or remotely unlocking), it will report the execution result in the form of an encrypted packet; this interface is responsible for decrypting and parsing the packet, and extracting the operation result code.
Important Note: The execution results of all commands asynchronously sent to the door lock are received and processed through this interface. After parsing is completed, the server can perform subsequent processing based on the result code (such as updating the user list, recording logs, or providing feedback on front-end operations).
Result codes are as follows:
Adding a door lock user
0000 Success
0001 Invalid data format
0002 User already exists
0003 User quantity full
0004 Other errors
0005 Enrolling (Fingerprint/Card/Face/Palmprint)
0006 Exit registration page via APP
Delete Lock User
0100 Success
0101 Invalid data format
0102 User does not exist
0103 Other errors
Modify Lock User
0200 Success
0201 Invalid data format
0202 User does not exist
0203 Other errors
Lock Status
0300 Door closed (locked)
0301 Door open (locked)
0302 Always open mode
0303 Enable deadbolt lock
0304 Disable deadbolt lock
0305 Arm alarm
0306 Disarm alarm
0307 Sliding cover not closed
0310 Unlock by pressing handle
0312 Lock by lifting handle
0313 Indoor unlock
0315 Door closed + deadbolt locked
0316 Always open + deadbolt locked
0317 Lift handle + deadbolt locked
0320 Lock doorbell pressed
0318 Door sensor closed (door shut)
0319 Door sensor open (door ajar)
Remote Lock Command
0401 Set door open
0402 Set always open
0403 Enable deadbolt lock
0404 Disable deadbolt lock
0405 Enable arm mode
0406 Enable disarm mode
Lock Alarm
0500 Low battery alarm
0501 Lock tamper alarm
0502 Latch abnormal alarm
0503 Wrong password
0504 Wrong fingerprint
0505 Wrong card
0506 Verification failed
0507 Wrong face recognition
0508 Wrong palmprint
050A System locked
050B Duress alarm
0510 Fingerprint sensor fault
0530 Card reader fault
0540 Display screen fault
0550 Clock fault
0570 Cat eye camera fault
05FF Other faults
0700 Binding succeeded
0800 Unbind & clear data
0801 Unbind only
1201 Lock version info
1202 Lock system time
1203 Lock system settings
1301 Single unlock mode
1302 Combined unlock mode
1303 Silent mode
1304 High volume
1305 Medium volume
1306 Low volume
1307 Restore lock factory data
1308 Set system time
1309 Right-side unlock
130A Left-side unlock
130B High torque
130C Medium torque
130D Low torque
130E Disable auto-lock
130F 10s auto-lock
1310 15s auto-lock
1311 20s auto-lock
1312 Relay delay
1313 Working mode
1314 Power mode
1315 Wired control
1316 Enable anti-tamper
1317 Disable anti-tamper
1318 Unlock interval
1319 Relock delay
131A Delayed lock time
131B Scene settings
131C Always open mode B
131E Connection mode: Wake-up mode
131F Connection mode: Permanent connection
1321 Electronic deadbolt enabled
1322 Electronic deadbolt disabled
13E1 Chinese
13E2 English
Door Opening Direction
133001 Left-opening door
133002 Right-opening door
133003 Auto calibration
Rear Door Sensor Switch
133101 Enable
133102 Disable
Lock Body Type
133201 Electronic lock body
133202 Ordinary lock body
133203 Other lock body
Torque Adjustment
133301 High torque
133302 Medium torque
133303 Low torque
Relock Time
133401 200ms
133402 400ms
133403 800ms
Stay Detection (Enable radar first)
133501 Enable
133502 Disable
Radar Settings
133601 Long detection distance
133602 Short detection distance
133603 Disable radar
New Auto-lock Setting
133700 Disable
13373C 60 seconds
1401 Sync all unlock records
1402 Sync unlock records response (last group)
1700 User data sync
1701 Sync all users
1702 Sync all users response
1703 Sync all users response (last data)

请求参数

Header 参数

Body 参数application/json

示例
{
    "data": "5b002f08016929443a0001011140011d02695b9c53023dff18c8b73479742acfd062969c764fcdfe7db15685ad33967e6100b5726e",
    "deviceId": "01:01:11:40:01:1D",
    "serverKeys": "1967574760092151",
    "lockKeys": "1B8763B4D7F6EA69"
}

返回响应

🟢200成功
application/json
Bodyapplication/json

示例
{}
上一页
Sync Door Lock Operation Records
下一页
Issue Door Lock Settings
Built with