SmartGPU2-LCD480X320Touch-CommandSet

SMART GPU 2 3.5” TOUCH
Command Set
Vizic Technologies ©2014 84
2.7.7 Get Playing State 47hex - G ascii
Commands (host)
2 bytes
1.- 0x41 (hex), A (ascii). *Audio Command.
2.- 0x47 (hex), G (ascii).
Responses (device)
1 byte + 1 byte ACK/NAK
1.- Playing State: 0x00(hex) Active or
0x01(hex) Not Active.
2.- 0x4F (hex), O (ascii) success ACK or
0x46 (hex), F (ascii) fail NAK.
Description
This is one of the most simple yet effective
commands on SmartGPU 2, this command replies
the currently playing audio state, 0x00(hex) for not
playing, and 0x01(hex) for active playing.
With this command user can know if a previously
called audio file with “Play WAV File” command, is
still being playing or already ended.
Note that the “Pause WAV File” is the unique
command that can stop audio sound and this "Get
Playing State" command will still return an Active
Playing State.
Example (sent and received
commands)
Example 1:
<41,47> 00,4F. No audio file is playing.
Example 2:
<41,47> 01,4F. An audio file is being played.
All data is in hex.