Set and Retrieve Volume

555

# Set and Retrieve Volume

Decrease Volume
Request format: <STX><FLAG><Command><ETX><LRC>

Field Format Length Description
Command AN 3 “401”

Description: Decrease the device volume by 1 each time
Control PC sends:
<STX><FLAG><34H><30H><31H><ETX><LRC>
Device responds:
<ACK>
Example of command sent: 02 11 34 30 31 03 32

Increase Volume
Request format: <STX><FLAG><Command><ETX><LRC>

Field Format Length Description
Command AN 3 “402”

Description: Increase the device volume by 1 each time
Control PC sends:
<STX><FLAG><34H><30H><32H><ETX><LRC>
Device responds:
<ACK>
Example of command sent: 02 11 34 30 32 03 32

Mute
Request format: <STX><FLAG><Command><ETX><LRC>

Field Format Length Description
Command AN 3 “403”

Example: Mute the device
Control PC sends:
<STX><FLAG><34H><30H><33H><ETX><LRC>
Device responds:
<ACK>
Example of command sent: 02 11 34 30 33 03 32

Set Absolute Volume
Request format: <STX><FLAG><Command><Volume Level><ETX><LRC>

Field Format Length Description
Command AN 3 “404”
Volume Level AN 3 “000” … “015”

Example: Set the device volume to 15
Control PC sends:
<STX><FLAG><34H><30H><34H><30H><31H><35H><ETX><LRC>
Device responds:
<ACK>
Example of command sent: 02 11 34 30 34 30 31 35 03 32

Retrieve Volume
Request format: <STX><FLAG><Command><ETX><LRC>

Field Format Length Description
Command AN 3 “499”

Response format: <STX><FLAG><Command><Volume Status><LRC>

Field Format Length Description
Command AN 3 “499”
Volume Status AN 3 “000” … “015”

Example: Retrieve the device volume (current volume: 12)
Control PC sends:
<STX><FLAG><34H><39H><39H><ETX><LRC>
Device responds:
<ACK>
<STX><FLAG><34H><39H><39H><30H><31H><32H><ETX><LRC>

Example of command sent: 02 11 34 39 39 03 32
Example of device response:
02 11 06 03 14
02 11 34 39 39 30 31 30 03 16