ID TECH SREDKey 2 Integration Manual
Page | 9
6.
Firmware Command Structure
The following are commands sent to keypad/reader:
•
Setting Command
:
<STX><S>[<FuncID><Len><FuncData>…] <ETX><LRC>
•
Read Status Command
:
<STX><R><FuncID><ETX><LRC>
•
Function Command
:
<STX>[<FuncID><Len><FuncData>…] <ETX><LRC>
6.1.
Response from SREDKey 2
Setting Command
Host
SREDKey 2
Setting command
<ACK>
if OK
or
<NAK>
if Error
Read Status Command
Host
SREDKey 2
Read Status command
<ACK>
and
<Response>
if OK
or
<NAK>
if Error
Other Commands
Host
SREDKey 2
Other command
<ACK>
and
<Response>
if OK
or
<NAK>
if Error
<Response>
format:
The current setting data block is a collection of many function-setting blocks
<FuncSETBLOCK>
as
follows:
<STX><FuncSETBLOCK1>…<FuncSETBLOCKn><ETX><LRC>
Each function-setting block
<FuncSETBLOCK>
has the following format:
<FuncID><Len><FuncData>