beautypg.com

Pevnt, Appendices ~ appendix f: serial commands, Explanation – ClearOne AP800 User Manual

Page 59: Return values

background image

55

Appendices

~ Appendix F: Serial Commands

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

PEVNT

This command programs or returns the program of the GPIO

status pins from the serial port. The command line follows the

same format as shown in the PCMD example above.

[DEVICE] PEVNT

Explanation

LOCATION=1

Status A pin 2 active

LOCATION=2

Status A pin 2 inactive

LOCATION=3

Status A pin 4 active

LOCATION=4

Status A pin 4 inactive

LOCATION=5

Status A pin 6 active

LOCATION=6

Status A pin 6 inactive

LOCATION=7

Status A pin 8 active

LOCATION=8

Status A pin 8 inactive

LOCATION=9

Status A pin 10 active

LOCATION=10

Status A pin 10 inactive

LOCATION=11

Status A pin 12 active

LOCATION=12

Status A pin 12 inactive

LOCATION=13

Status A pin 14 active

LOCATION=14

Status A pin 14 inactive

LOCATION=15

Status A pin 16 active

LOCATION=16

Status A pin 16 inactive

LOCATION=17

Status B pin 2 active

LOCATION=18

Status B pin 2 inactive

LOCATION=19

Status B pin 4 active

LOCATION=20

Status B pin 4 inactive

LOCATION=21

Status B pin 6 active

LOCATION=22

Status B pin 6 inactive

LOCATION=23

Status B pin 8 active

LOCATION=24

Status B pin 8 inactive

LOCATION=25

Status B pin 10 active

LOCATION=26

Status B pin 10 inactive

LOCATION=27

Status B pin 12 active

LOCATION=28

Status B pin 12 inactive

LOCATION=29

Status B pin 14 active

LOCATION=30

Status B pin 14 inactive

LOCATION=31

Status B pin 16 active

LOCATION=32

Status B pin 16 inactive

EVENT=String Pin will execute string when actuated

EVENT=Null Parameter to return the current

programming for the pin

EVENT=Clear Parameter to clear current

programming (do nothing state)

EVENT LIST: LFP, PRESET, MUTE, GAIN, AGC, EQ,

GMODE, CHAIRO

Return Values

The command returns 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 event for which the pin is

programmed.

Preset command note:

PRESET has two status parameters which can be set in a

PEVNT command line: preset and NOT preset. To indicate

NOT preset, add “!” to the end of the string. For example,

this could be used to show when PRESET 1 occurs and then

shut off if any other preset is selected. You would enter

PRESET 1 in the active location and PRESET 1! in the

inactive location for the desired pin.