SmartWAV2-SerialMode_R1

SMARTWAV 2
Serial Mode
Vizic Technologies ©2020 | 58
7.19 Get Remain Time - 0x4F, 0x52hex - ‘O,R’ ascii
Commands (host)
byte(s)
1.- 0x4F (hex), O (ascii).
2.- Channel 0x00 to 0x0D (hex), 0-13 (ascii).
3.- 0x52 (hex), R (ascii).
Responses (device)
byte(s)
1.- Milliseconds - High Byte.
2.- Milliseconds - Medium High Byte.
3.- Milliseconds - Medium Low Byte.
4.- Milliseconds - Low Byte.
5.- 0x4F (hex), O (ascii) - Success ACK or
0x46 (hex), F (ascii) - Fail NAK.
Description
This command asks for the current remaining
time (In Milliseconds) for the channel track to
reach point B for the received channel (0-
13), the processor basically substracts the
point B time minus current playing point.
A track must be already mounted in the
selected channel for this command to work.
Examples (sent and
received commands)
Example 1:
Sent data:
-4F,04,52- Ask for remaining time to reach
point B for track in channel 4.
Received data:
-00,01,5F,90,4F- Remaining time is 00:01:30
(90000 milliseconds), OK.
*All data is in hex.