Table of Contents

.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

TypeYes
Valueyes
Rangeyes
Order In Interpretation1

-p

List the parameters

TypeSwitch
Value
Range
Order In Interpretation3

-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.

TypeText
Value"Licence
Range
Order In Interpretation2
Default Value

Parameter Interpretation Order

-d, -s, -p

Parameter Defaults

Response Headers

CS ER LK ME OK PR

Examples

CommandResponseAction
.lk -pCS: .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