NEO 2 Interface Developer’s Guide
Copyright © 2019, International Technologies & Systems Corporation. All rights reserved.
118
8.
Protocol Command Reference: Protocol 2
8.1.
RTC (Real Time Clock) Commands
8.1.1.
Set/Get 24-hr Self-Check Time (25-07)
The
Set/Get 24-hr Self-Check Time
command instructs the ViVOpay reader to set a specific
time for 24-hr self-check in Coordinated Universal Time.
NOTE:
If this command sets the 24-hr self-check time successfully, the device reboots after
responding.
Command Frame (Set 24hrs Self-Check Time)
Byte 0-9
Byte 10
Byte 11
Byte 12
Byte 13
Byte 14
Byte 15
Byte 16
Byte 17
Header Tag
& Protocol
Version
Command
Sub-
Command
Data
Length
(MSB)
Data
Length
(LSB)
Hours
Minutes
CRC (LSB)
CRC (MSB)
ViVOtech2\0
25h
07h
00h
02h
BCD format,
range 00-23h
BCD
format,
range 00-
59h
Examples:
1.
Beijing Time, UTC+8, desired 24-hr self-check time is 2:30 in the morning,
2:30 (UTC+8) – 8hrs = 18:30 (UTC)
Hours = 18h,
Minutes = 30h,
2.
Pacific Daylight Time (PDT), UTC-7, desired 24-hr self-check time is 3:30 in the
morning,
3:30 (UTC-7) + 7 hrs = 10:30 (UTC)
Hours = 10h
Minutes = 30h
Response Frame (Set 24-hr Self-Check Time)
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
25h
See
00h
00h
If the status code does not return
OK
, the command failed.