![IDTECH Vivopay Neo 2 Developer'S Manual Download Page 437](http://html.mh-extra.com/html/idtech/vivopay-neo-2/vivopay-neo-2_developers-manual_618786437.webp)
NEO 2 Interface Developer’s Guide
437
18.6.
Generate MAC for Host (63-06)
This command allows creating a MAC-authenticated message for Online authorization.
Command Frame
Byte 0-9
Byte 10
Byte 11
Byte 12 Byte 13
Byte 14 -
n-1
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
63h
06h
00h
Input Stream
Note: Input stream is in ASCII. Use symbol 0xC0, 0xD0 for clear track 2 data in input stream
Response Frame
Byte 0-9
Byte 10
Byte 11
Byte 12
Byte 13
Byte14-
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
63h
See
00h
MAC Data
Example:
Input Stream:
31311C393138
C0D0
4511
Track2:
3B353135303731303230303130373936303D3039303931303134303030303335353F
Input Stream to be MAC:
31311C393138
3B353135303731303230303130373936303D3039303931303134303030
303335353F
4511
MAC Data is 8 bytes
The algorithm is defined in ISO 16609 as TDES CBC MAC
18.7.
Get L100 Firmware Version (70-03)
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 (LSB)
CRC (MSB)
ViVOtech2\0
70h
03h
00h
00h