SmartWAV2-SerialMode_R1
SMARTWAV 2
Serial Mode
Vizic Technologies ©2020 | 51
7.12 Get Play/Pause - 0x4F, 0x50hex - ‘O, ‘P’ ascii
Commands (host)
byte(s)
1.- 0x4F (hex), O (ascii).
2.- Channel 0x00 to 0x0D (hex), 0-13 (ascii).
3.- 0x50 (hex), P (ascii).
Responses (device)
byte(s)
1.- 0x00 (hex) for Paused State or
0x01 (hex) for Playing State.
2.- 0x4F (hex), O (ascii) - Success ACK or
0x46 (hex), F (ascii) - Fail NAK.
Description
This command asks for the current
play/pause state of the received channel (0-
13).
If a track is playing on the channel the
processor sends 0x01 as reply.
Examples (sent and
received commands)
Example 1:
Sent data:
-4F,02,50- Ask for play/pause state of
channel 2.
Received data:
-00,4F- Channel is paused, OK.
Example 2:
Sent data:
-4F,05,50- Ask for play/pause state of
channel 5.
Received data:
-01,4F- Channel is playing, OK.
*All data is in hex.