Page | 17
8
NGA Commands & Responses format
The L100 uses NGA protocol commands and responses in general communication. The format is:
<STX> <Len_Low><Len_High> <Command Body / Response Body / Notification Body>
<CheckLRC> <CheckSUM> <ETX>
Where:
•
<STX> is 0x02 and <ETX> is 0x03
•
<Len_Low><Len_High> is length of <Command Body / Response Body / Notification Body>
•
<CheckLRC> is LRC (8-bit XOR) of all data bytes in <Command Body / Response Body /
Notification Body>
•
<CheckSUM> is SUM (8-bit SUM) of <Command Body / Response Body / Notification Body>
o
Response Body: <Response Status> + [<Response Data>]
o
<Response Status>: status of the response. 1 byte. NAK: 0x15
o
ACK: 0x06
o
<Response Data>: main response string.
o
If <Response Status> is ACK: More bytes needed.
o
If <Response Status> is NAK: Response data is Error codes (2 bytes).
o
Next section lists <Command Body>, <Response Body>, and <Notification Body>
detailed.
8.1
LCD & Beeper State & LED
Note:
Item
Definition
Device is in a Deactivation
State
Tamper Switch Or Battery Error
Important Data - No
At least one of Public Key, Firmware Key, Check Value,
and/or Numeric Key was not loaded
Important Data - Have
Loaded Public Key, Loaded Firmware Key, Loaded
Check Value, and Loaded Numeric Key