![IDTECH Vivopay Neo 2 Developer'S Manual Download Page 288](http://html.mh-extra.com/html/idtech/vivopay-neo-2/vivopay-neo-2_developers-manual_618786288.webp)
NEO 2 Interface Developer’s Guide
Copyright © 2019, International Technologies & Systems Corporation. All rights reserved.
288
If a valid
Command Frame
is received from the terminal, ViVOpay sends the data to the PICC
(or carries out the appropriate action) and receives the PICC response. The ViVOpay reader
treats the response as unknown data and does not try to interpret it. If there is no error, the
reader returns a
Response Frame
with OK Status and the Data received from the PICC (if any).
The
Response Frame
also contains the result of the PCD Command (PCD Status). The PCD
Status may indicate success or an Error Code.
If the
Command Frame
contains any errors, or an error occurred during communication with
the PICC (such as PICC removed from the field), then the reader sends a
Response Frame
with
an appropriate Status. No Data is returned in this case.
Response Frame
Byte 0-9
Byte 10
Byte 11
Byte 12
Byte 13
Byte 14 …
Byte 14+n-1
Byte 14+n
Byte 15+n
Header Tag &
Protocol
Version
Command Status Code
Data
Length
(MSB)
Data
Length
(LSB)
Data
CRC (MSB)
CRC (LSB)
ViVOtech2\0
2Ch
See
Variable
Variable
See Table below
OR
None
PCD Single Command Exchange Data Field for Response
Data Field
Length (bytes)
Description
PCD Status
1
This field contains the result of the PCD Command. Possible values are
given in the following table.
PCD Status
Description
0
OK
-1 (0xFF)
No Tag Error (Card not present)
-2 (0xFE)
CRC Error
-3 (0xFD)
Empty
-4 (0xFC)
Authentication Error
-5 (0xFB)
Parity Error
-6 (0xFA)
Code Error
-7 (0xF9)
Card Type Error
-8 (0xF8)
Serial Number Error
-9 (0xF7)
Key Error
-10 (0xF6)
Authentication not carried out for this Sector
-11 (0xF5)
Bit Count Error
-12 (0xF4)
Byte Count Error
-13 (0xF3)
Idle
-15 (0xF1)
Write Error
-18 (0xED)
Read Error
-19 (0xEC)
FIFO Overflow Error