ClearOne comm AP800 Pcmd, Explanation, Appendices ~ Appendix F Serial Commands, Return Values

Models: AP800

1 68
Download 68 pages 59.79 Kb
Page 58
Image 58
PCMD

54

PCMD

This command programs or returns the program of the GPIO control pins from the serial port. COMMAND can be any valid command. These values are not part of the preset and do not change when presets are loaded.

[DEVICE] PCMD <LOCATION> <COMMAND>

Explanation

<LOCATION>

LOCATION=1

Control A pin 1 active

LOCATION=2

Control A pin 1 inactive

LOCATION=3

Control A pin 3 active

LOCATION=4

Control A pin 3 inactive

LOCATION=5

Control A pin 5 active

LOCATION=6

Control A pin 5 inactive

LOCATION=7

Control A pin 7 active

LOCATION=8

Control A pin 7 inactive

LOCATION=9

Control A pin 9 active

LOCATION=10

Control A pin 9 inactive

LOCATION=11

Control A pin 11 active

LOCATION=12

Control A pin 11 inactive

LOCATION=13

Control A pin 13 active

LOCATION=14

Control A pin 13 inactive

LOCATION=15

Control A pin 15 active

LOCATION=16

Control A pin 15 inactive

LOCATION=17

Control B pin 1 active

LOCATION=18

Control B pin 1 inactive

LOCATION=19

Control B pin 3 active

LOCATION=20

Control B pin 3 inactive

LOCATION=21

Control B pin 5 active

LOCATION=22

Control B pin 5 inactive

LOCATION=23

Control B pin 7 active

LOCATION=24

Control B pin 7 inactive

LOCATION=25

Control B pin 9 active

LOCATION=26

Control B pin 9 inactive

LOCATION=27

Control B pin 11 active

LOCATION=28

Control B pin 11 inactive

LOCATION=29

Control B pin 13 active

LOCATION=30

Control B pin 13 inactive

Appendices ~ Appendix F: Serial Commands

LOCATION=31

Control B pin 15 active

LOCATION=32

Control B pin 15 inactive

<COMMAND>

COMMAND=String Pin will execute string when actuated

COMMAND=Null Parameter to return the current programming for the pin

COMMAND=Clear Parameter to clear current programming (do nothing state)

COMMAND LIST: LFP, PRESET, MUTE, GAIN, AGC, EQ, GMODE, CHAIRO

Return Values

The command will return the updated condition of the pin in the same format as the command. If the command did not alter the state, the command returns the current command for which the pin is programmed.

Example

The PCMD command line contains both the PCMD command and the command being programmed. To program AP800 unit 0 control A pin 1 to toggle mute on mic 1, the command would appear as follows: #10 PCMD 1 MUTE 1 I 2 (toggles mute to the opposite state: ON to OFF and vice versa)

Technical Services Group ~ 1-800-283-5936 (USA) ~ 1-801-974-3760

Page 58
Image 58
ClearOne comm AP800 operation manual Pcmd, Explanation, Appendices ~ Appendix F Serial Commands, Return Values, Example