![IDTECH Vivopay Neo 2 Скачать руководство пользователя страница 112](http://html.mh-extra.com/html/idtech/vivopay-neo-2/vivopay-neo-2_developers-manual_618786112.webp)
NEO 2 Interface Developer’s Guide
Copyright © 2019, International Technologies & Systems Corporation. All rights reserved.
112
ACK Frame from ViVOpay Reader
Byte 0-8
Byte 9
Byte 10
Byte 11
Byte 12
Byte 13
Byte 14
Byte 15
Frame Tag
Frame Type
Command
Status
Data1
Data2
CRC
(MSB)
CRC (LSB)
ViVOtech\0
‘A’
24h
Status
00
00
Status: OK (or see
Status Code Protocol 1
)
NACK from ViVOpay Reader
Byte 0-8
Byte 9
Byte 10
Byte 11
Byte 12
Byte 13
Byte 14
Byte 15
Frame Tag
Frame Type
Command
Status
Data1
Data2
CRC
(MSB)
CRC (LSB)
ViVOtech\0
‘N’
24h
FAILED
Error Code
Unused
Error Code
: See
EMV Key Management Error Codes Table
If at any time ViVOpay sends back a NACK Frame with status set to
Failed
, the error code field
indicates the reason for failure.
First Data Frame from terminal to ViVOpay Reader (If reader sent an ACK)
Byte 0-8
Byte 9
Byte 10-13
Byte 14
…
Byte 10+(n-1) Byte 10+n
Byte
10+(n+1)
Frame Tag
Frame Type
Data 0
Data 1
…
Data (n-1)
CRC
(LSB)
CRC
(MSB)
ViVOtech\0
‘D’
Data
Data
…
Data
Where n = length of the data field.
the data field in the first data frame contains the complete or partial CA public key related
data. The complete contents and format of the key data are given in the following table. The
data portion of data frame 1 and data frame 2 (if present) when stripped of the frame
overhead and concatenated, provides the data as given in the following table.
Set CA Public Key Data Field
Data
Byte
Name
Length
(bytes)
Format
Notes
0-4
RID
5
Binary
Registered Identifier.
Necessary for Unique Identification.
5
CaPublicKey Index
1
1
Binary
Index of the CA Public Key for this RID.
Necessary for Unique Identification.
6
CaHashAlgoIndicator
1
1
Binary
CA Hash Algorithm to produce Hash-Result in
digital signature scheme. Valid values:
01h: SHA-1