![IDTECH Vivopay Neo 2 Developer'S Manual Download Page 60](http://html.mh-extra.com/html/idtech/vivopay-neo-2/vivopay-neo-2_developers-manual_618786060.webp)
NEO 2 Interface Developer’s Guide
Copyright © 2019, International Technologies & Systems Corporation. All rights reserved.
60
Sample Output
45 00 55 00 04 03 03 00 00 E8 DD
<-- LCD Event
45 00 55 00 04 01 11 00 00 28 B6
<-- LED Event
45 00 55 00 04 01 10 00 00 1F 86
<-- LED Event
45 00 55 00 04 02 20 00 00 41 FF
<-- Buzzer Event
45 00 55 00 04 01 11 00 00 28 B6
<-- LED Event
45 00 55 00 04 01 21 00 00 ED 13
<-- LED Event
45 00 55 00 04 01 31 00 00 AE 70
<-- LED Event
01 00 0A 25 42 36 32 37 39 32 35 37 37 34 39 31
33 32 33 34 33 5E 54 45 53 54 20 43 41 52 44 2F
56 49 56 4F 54 45 43 48 5E 31 30 31 32 38 31 33
30 30 37 32 31 30 34 33 35 30 30 30 30 3F 3B 36
32 37 39 32 35 37 37 34 39 31 33 32 33 34 33 3D
31 30 31 32 38 31 33 30 30 37 32 31 30 34 33 35
30 30 30 30 3F B5 DC
<-- Burst Mode Payload Frame
45 00 55 00 04 03 04 00 00 6D 4D
<-- LCD Event
45 00 55 00 0C 01 30 00 00 01 20
00 00 01 10 00 00 53 78
<-- Three LED Events
45 00 55 00 04 03 01 00 00 86 BD
<-- LCD Event
3.4.
CRC Calculation
The 16-bit CRC value is based on CRC-16/CCITT and calculated based on the following
parameter set.
Width:
16-bits
Polynomial
x16 + x12 + x5 + 1
Truncated Polynomial:
1021 hex
Initial Value:
FFFF hex
Input Data:
Not Reflected
Output CRC:
Not Reflected
XOR of Output CRC:
Not Done
The CRC-16 is calculated for the entire frame inclusive of frame tags, unused bytes, and so on.
For Protocol 1 (deprecated) and Protocol 2: The CRC of the command frame is little-endian;
that is, lower byte first (LSB).
The CRC of the response frame is big-endian; that is, higher byte first (MSB).
For Pass-Through Frames, both command and response frames have the CRC stored in
big-endian order (MSB first).