NEO 2 Interface Developer’s Guide
467
Response Frame
Byte 0-9
Byte 10
Byte 11
Byte 12
Byte 13
Bytes 14 –
13+n
Byte 14+n
Byte 15+n
Header Tag
& Protocol
Version
Command
Status Code
Data Length
(MSB)
Data Length
(LSB)
Error
CRC (MSB)
CRC (LSB)
ViVOtech2\
0
83h
See
00h
0 – n
If the command returns an error status, the data portion may contain a 4-byte extended status giving
more detailed error information (in which case, see the Appendix on
If the data length is non-zero, a descriptive, zero-terminated ASCII error string is contained in the
data portion of the response.
Example:
•
Delete testfile.x:
TX:
56 69 56 4F 74 65 63 68 32 00 83 1F 00 0B 74 65 73 74 66 69 6C
65 2E 78 00 75 CC
RX:
56 69 56 4F 74 65 63 68 32 00 83 00 00 00 22 03
19.3.24.
Transfer File (83-24)
This command transfers a data file to the reader. The maximum size of one file is 128KB; the
maximum number of image files is 64.
Command Frame
Byte 0-9
Byte 10
Byte 11
Byte 12
Byte 13
Byte 14-
13+n
Byte
14+n+m
Byte
15+n+m
Header Tag
& Protocol
Version
Command
Sub-
Command
Data Length
(MSB)
Data Length
(LSB)
parameters
(see below)
CRC (LSB)
CRC (MSB)
ViVOtech2\0
83h
24h
00h
n
The table below defines the file transfer command parameters. If a file is larger than 1000 bytes, it
must be sent in sections of 1000 bytes or less. Each section must be transmitted in sequential order,
and the last section must be flagged to indicate the file transfer is complete.
The file size is only used to check the available space before the transfer. Sending an incorrect file size
may result in an error during the download.