SmartWAV2-SerialMode_R1

SMARTWAV 2
Serial Mode
Vizic Technologies ©2020 | 55
7.16 Get Name - 0x4F, 0x4Ehex - ‘O, ‘N’ ascii
Commands (host)
byte(s)
1.- 0x4F (hex), O (ascii).
2.- Channel 0x00 to 0x0D (hex), 0-13 (ascii).
3.- 0x4E (hex), N (ascii).
Responses (device)
byte(s)
1 to n .- File Name.
n+1 .- 0x00 (hex), NULL ascii.
n+2 .- 0x4F (hex), O (ascii) - Success ACK or
0x46 (hex), F (ascii) - Fail NAK.
Description
This command asks for the name of the
current mounted track on the received
channel (0-13).
The track name is sent byte by byte followed
with a NULL 0x00hex character to indicate
end of name, the .wav extension of the file
name is omitted and not sent.
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,4E- Ask for name of track in channel 2.
Received data:
-73,6F,6E,67,00,4F- Track name is song.wav
(“.wav” not sent), OK.
*All data is in hex.