SmartWAV2-SerialMode_R1
SMARTWAV 2
Serial Mode
Vizic Technologies ©2020 | 62
7.23 Get Sample Rate - 0x4F, 0x54hex - ‘O, ‘T’ ascii
Commands (host)
byte(s)
1.- 0x4F (hex), O (ascii).
2.- Channel 0x00 to 0x0D (hex), 0-13 (ascii).
3.- 0x54 (hex), T (ascii).
Responses (device)
byte(s)
1.- Sample Rate - High Byte.
2.- Sample Rate - Medium High Byte.
3.- Sample Rate - Medium Low Byte.
4.- Sample Rate - Low Byte.
5.- 0x4F (hex), O (ascii) - Success ACK or
0x46 (hex), F (ascii) - Fail NAK.
Description
This command asks for the audio sample
rate data of the track mounted in received
channel (0-13). This sample rate data is not
the same as the actual master system
sample rate, the parameters may be equal
or different.
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,05,54- Ask for audio sample rate data of
track in channel 5.
Received data:
-00,00,AC,44,4F- Sample rate track data is
44.100kHz, OK.
*All data is in hex.