User manual
V002450_25_CR1200-CR2-CR3-CR2500-CR3500_Interface_Configuration_Document_CLIENT.docx
2011-04-27 Page 21 of 65
© 2011 The Code Corporation
•
14870 S. Pony Express Rd., Suite 200, Bluffdale, UT 84065
•
(801) 495-2200
•
FAX (801) 495-0280
^
Requests the Reader to upload the specified stored file; data contains the file name,
terminated with ASCII NUL.
(The Reader will respond in the same manner as with the ‘(’ command with the following
additions: in the g packet, data contains the filename followed by a tab character,
followed by the file’s size in parentheses (e.g., “test.txt (1292)”); in the d packet,
data contains “EOF” followed by a tab character, followed by the file’s CRC16 in
parenthesis (e.g., “EOF (13626)”).)
Supported in firmware version 3100+
_
Causes the Reader to wait for all buttons to be released and clear its event queue
(The Reader will respond with d or e.)
|
Sends data to the Reader. The data may be intercepted by the JavaScript application on
the Reader; otherwise, it will be processed as if read from a code.
(The Reader will respond with d or e.)
~
Requests the Reader to write some of its current settings from RAM to its non-volatile
memory. All settings are written except the communication settings (commMode,
commProtocol, commExpectResponse, and commandOptions, uartBaud, etc.)
(The Reader will respond with d or e.)
This command is valid for Firmware versions 2230+
7 File Installation
7.1 Simple Protocol
The file is split into blocks of 236 or less bytes each and downloaded to the Reader via 1, 2, & 5
commands using the following sequence:
1) Send a 1 command to initialize the download.
2) Wait for a d or e response from the Reader or a timeout.
a) If timeout or e response, restart the sequence at step 1.
b) If d response, continue to step 3.
3) Send a series of 2 commands, each with a portion of the file. (The Reader will not send
any response.)
4) Send a 5 command to end the download and install the file.
5) Wait for a d, e, or f response from the Reader or a timeout.
a) If f response or timeout, restart the sequence at step 1.
b) If e response, repeat step 5.
c) If d response, file download has completed successfully.
Note: the timeout will need to be increased from the normal response timeout to allow the firmware time
to write the file to the flash memory.