SmartWAV2-SerialMode_R1

SMARTWAV 2
Serial Mode
Vizic Technologies ©2020 | 56
7.17 Get Current Point - 0x4F, 0x4Fhex - ‘O, ‘O’ ascii
Commands (host)
byte(s)
1.- 0x4F (hex), O (ascii).
2.- Channel 0x00 to 0x0D (hex), 0-13 (ascii).
3.- 0x4F (hex), O (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 currently playing
point, file audio pointer or elapsed time (In
Milliseconds) for the received channel (0-13),
the time is always calculated from the
beginning of the track.
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,02,4F- Ask for current playing point of
channel 2.
Received data:
-00,01,D4,C0,4F- Currrent file playing point or
pointer is 00:02:00 (120000 milliseconds), OK.
*All data is in hex.