![IDTECH Vivopay Neo 2 Скачать руководство пользователя страница 138](http://html.mh-extra.com/html/idtech/vivopay-neo-2/vivopay-neo-2_developers-manual_618786138.webp)
NEO 2 Interface Developer’s Guide
Copyright © 2019, International Technologies & Systems Corporation. All rights reserved.
138
Insert Card Counter
Last 4:
Remove Card Counter
8.2.19.
Get Health Data from SCRP (29-30)
The
Get Health Data from SCRP
command retrieves Health Data from SCRP Only. This
command is always valid in SCRP.
Command Frame
Byte 0-9
Byte 10
Byte 11
Byte 12
Byte 13
Byte 14
Byte 15
Header Tag &
Protocol
Version
Command
Sub-
Command
Data
Length
(MSB)
Data
Length
(LSB)
CRC
(MSB)
CRC (LSB)
ViVOtech2\0
29h
30h
0000h
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 29h
See Status
Code Table
0062h
See Data table
Data Item
Length
(bytes)
Description
Length
Enc_Health_Data
2
Length of Enc_Health_Data
Enc_Health_Data
96
Enc [16 bytes Random | Block_SN | Block_FW_Version | Block_HW_Version
| Block_SRED_Status | Block_MSR_Availability | n bytes Random]
Note:
1. Create 96 bytes Raw data: Enc [16 bytes Random | Block_SN | Block_FW_Version |
Block_HW_Version | Block_SRED_Status | Block_MSR_Availability | n bytes Random]:
•
Block data format: 2 bytes length (MSB & LSB) + m bytes data
•
SN data is 10 bytes
•
FW_Version data: “SCRP Vx.yy.zzz.aaaa.S Demo” or “SCRP Vx.yy.zzz.aaaa.S Prod”
•
HW_Version data is same as response of 09-14 command.
•
SRED_Status data is 2 bytes
•
MSR_Availability data is 1 byte
2. Use Data_Shared_Key and AES-128 CBC algorithm to Encrypt the Raw Data to be 96 bytes
Enc_Health_Data.