.lk Licence Key
This command reads, writes and deletes the Licence Key stored in the reader’s non-volatile memory. The Licence Key can be up to 255 characters long and can contain any printable characters with the exception of double quotes ("). How the licence key function is used is up to the programmer, it could be used to store a simple password or some form of hashing could be used with the two unique strings, the serial number and Bluetooth® address, returned from the .vr command.
Android | iOS | .NET |
---|---|---|
link coming soon | link coming soon | LicenceKeyCommand |
Parameters
Identifier | Values | Description |
---|---|---|
-d | yes | Delete the Licence Key |
-p | List the parameters | |
-s | "Licence | Key" Set the licence key, up to 255 characters, enclosed in double quotes(").The licence key can contain any printable character except for double quotes ("). The Licence key can only be written if it is currently blank. |
Parameter detail
-d
Delete the Licence Key
Type | Yes |
---|---|
Value | yes |
Range | yes |
Order In Interpretation | 1 |
-p
List the parameters
Type | Switch |
---|---|
Value | |
Range | |
Order In Interpretation | 3 |
-s
Key" Set the licence key, up to 255 characters, enclosed in double quotes(").The licence key can contain any printable character except for double quotes ("). The Licence key can only be written if it is currently blank.
Type | Text |
---|---|
Value | "Licence |
Range | |
Order In Interpretation | 2 |
Default Value |
Parameter Interpretation Order
-d, -s, -p
Parameter Defaults
Response Headers
Examples
Command | Response | Action |
.lk -p | CS: .lk -p
PR: -d -p -s LK: ThisIsMyLicenceKey OK: | Licence key and parameters read |
.lk -d yes -s "NewLicence" | CS:.lk -d yes -s "NewLicence"
LK: NewLicence OK: | New licence key written |