![IDTECH Vivopay Neo 2 Developer'S Manual Download Page 348](http://html.mh-extra.com/html/idtech/vivopay-neo-2/vivopay-neo-2_developers-manual_618786348.webp)
NEO 2 Interface Developer’s Guide
Copyright © 2019, International Technologies & Systems Corporation. All rights reserved.
348
8.24.5.
Display Message and Get Encrypted PIN (62-01)
For devices that allow PIN entry (such as VP3600), use this command to get encrypted PIN
from device.
NOTE:
only one PIN attempt is allowed per 30-seconds for MKSK.
Command Frame
Byte 0-9
Byte 10
Byte 11
Byte 12 Byte 13
Byte 14 …
Byte 13+n
Byte
14+n
Byte
15+n
Header Tag &
Protocol
Version
Command
Sub-Command
Data
Length
(MSB)
Data
Length
(LSB)
Data
CRC
(LSB)
CRC
(MSB)
ViVOtech2\0
62h
01h
var
See Tables
Below
Command Data Field
Data Field
Length
(bytes)
Description
PAN and Key Type
1
00h – MKSK to encrypt PIN, Internal PAN (from MSR or Manual PAN Entry or
Contactless EMV Transaction)
01h – DUKPT to encrypt PIN, Internal PAN (from MSR or Manual PAN Entry
or Contactless EMV Transaction)
10h –MKSK to encrypt PIN, External Plaintext PAN
11h – DUKPT to encrypt PIN, External Plaintext PAN
20h –MKSK to encrypt PIN, External Ciphertext PAN (for PIN pad only)
21h – DUKPT to encrypt PIN, External Ciphertext PAN (for PIN pad only)
Note:
MKSK is either standard, or Desjardins-based, according to Key Loading.
DUKPT is TDES or AES according to Key Loading.
PAN length
1
Length of PAN (If Internal PAN, this field is 00h)
If TDES PIN DUKPT Key, value is 16 bytes digital
If AES PIN DUKPT Key, value is 12~19 bytes digital
PAN
var
If PAN is 00h, this field is not present.
ASCII code for digital (30h-39h).
If TDES PIN DUKPT Key, length is 16 bytes.
If AES PIN DUKPT Key, length is 12~19 bytes.
Device will check PAN length, if length is error, device will respond with fail
state code.
PIN Max Length
1
Max Len of PIN, valid range is 4 ≤ min ≤ max ≤ 12
PIN Min Length
1
Min Len of PIN, valid range is 4 ≤ min ≤ max ≤ 12
LCD Length
1
Length of LCD message.
If no LCD message input, length is 00h.
LCD Message
1-16
If LCD Length is 00h, this field is not present.
ASCII code Display Message.