SmartWAV2-SerialMode_R1

SMARTWAV 2
Serial Mode
Vizic Technologies ©2020 | 34
7.1 Mount Track - 4Dhex - ‘M’ ascii
Commands (host)
byte(s)
1.- 0x4D (hex), M (ascii).
2.- Channel 0x00 to 0x0D (hex), 0-13 (ascii).
3 to n .- File Name.
n+1 .- 0x00 (hex), NULL ascii.
Responses (device)
byte(s)
1.- 0x4F (hex), O (ascii) - Success ACK or
0x46 (hex), F (ascii) - Fail NAK.
Description
Mounts the received audio(.wav) file name
on the received channel to use (0 to 13), this
is almost the first command that must be
called before any other command related
to single channel playback.
Once this command is acknowledged, the
track is mounted in the received channel
and set in pause state, now the channel is
ready to be controlled with more
commands.
The file name must always be ended with the
0x00 (hex) NULL character that ends the
command.
*The file name could be received with or
without including the “.wav” extension, both
ways are accepted by the processor, also
the received name must not be larger than
128 characters including the .wav extension.