Command-line reference
This page lists commonly used command-line commands for inspecting device state, checking firmware versions, and managing stored keys on the door lock device.
Command |
Description |
|---|---|
|
Displays the Aliro library revision and the NFC reader in use. Example output: Aliro version: v0.2.0-22-g7da4b2e
NFC reader: ST25R100
|
|
Displays the Bluetooth LE address of the device. |
|
Displays the firmware version of the QM35825 SoC. This command is available only when the application is built with the |
|
Lists all Kpersistent keys currently stored on the device, including their index, ID, and public key. |
|
Clears a specific Kpersistent key by its index. Example: dl kpersistent clear 0
|
|
Sets or gets provisioning credentials required by the Aliro protocol for authentication. |
|
Manages reader data (Identifier, private/public keys, certificate, Reader System Issuer CA public key, and Group Resolving Key). |
|
Clears all Kpersistent keys stored on the device. |
|
Performs a factory reset on the device, clearing all stored data and settings. |
Note
The dl kpersistent commands are available only if the application is built with the
CONFIG_DOOR_LOCK_EXPEDITED_FAST_PHASE Kconfig option enabled.
Reader Storage command details
The reader command provides the following subcommands:
Command |
Description |
|---|---|
|
Gets or sets the full 32-byte Reader identifier. |
|
Gets or sets the Reader group identifier (first 16 bytes). |
|
Gets or sets the Reader group sub-identifier (last 16 bytes). |
|
Sets the Reader private key. |
|
Clears the Reader private key. |
|
Prints the Reader private key status and its public key if set. |
|
Lists, stores, or clears the Reader certificate (requires |
|
Lists, stores, or clears the Reader System Issuer CA public key (requires |
|
Lists, stores, or clears the Group Resolving Key (requires |