NEO 2 Interface Developer’s Guide
Copyright © 2019, International Technologies & Systems Corporation. All rights reserved.
356
Command Data Field
Data Field
Length
(bytes)
Description
Function Flag
1
0x00 - Display numeric for numeric key on LCD
0x01 - Display “*” for numeric key on LCD
0x02 - Display numeric first and then masked by “*” on LCD
0x10 - Enable MSR & Display numeric for numeric key on LCD
0x11 - Enable MSR & Display “*” for numeric key on LCD
0x12 - Enable MSR & Display numeric first and then masked by “*” on LCD
Note:
Only support Non-Financial Card (such as Employee Card)
Key Max Length
1
The max length for numeric key, valid range is 1 ≤ min ≤ max ≤16
Key Min Length
1
The min length for numeric key, valid range is 1 ≤ min ≤ max ≤16
Display Message Length
1
The length of Display Message, valid range is 1~33
Display Message
1~33
Plaintext and supports two lines.
Each line supports 1~16 characters;
‘\0’ (0x00) is necessary to separate the 1
st
and 2
nd
line
Display Message Signature
256
Display message signed by Private Key of Secure Message Certificate using
RSAPSS algorithm.
Algorithm:
1.
Calculate 32 bytes Hash for “< Function Flag >< Key Max Length >< Key Min
Length >< Display Message Length >< Display Message >”
2.
Using RSAPSS algorithm calculate the Hash to be 256 bytes Raw Data
3.
Using Private Key of Secure Message Certificate to sign the Raw Data to be
256 bytes signature
Timeout
2
In seconds, big-endian. If 00h, default 3 mins timeout is applied
First Response Frame
Byte 0-9
Byte 10
Byte 11
Byte 12
Byte 13
Byte 14
Byte 15
Header Tag &
Protocol
Version
Command
Status Code
Data
Length
(MSB)
Data
Length
(LSB)
CRC
(MSB)
CRC (LSB)
ViVOtech2\0
62h
See Status
Codes
00h
After device receives this command, it will send ACK as first response. Then device will begin
to wait for Numeric Key entry, or MSR swipe if it is enable. Either Numeric Key is entered, MSR
is swiped or timeout, device will send Numeric Key value, MSR data or timeout as second
response. Between first and second response, no command should be sent (other than
Cancel).