Group commands, Command delays, One-way commands – NeoPro Borrego+ 8x8 User Manual

Page 18: Response to commands

Advertising
background image

18

DOC42-00027-B Integrator's Guide.doc

The switch will only attempt to process a command between matching [ ]
braces, so any characters before and after the braces is discarded. If there are
invalid characters/values/command between the braces, they will be processed,
and the switch will echo the bad command and return an error [E].

Within a command or response, there will be one or more fields, separated by
commas:

[BV,1,2]

Group Commands

A group command is always wrapped in curly brackets:

{[command1][command2][command3]}

Group commands are used if the user wants to see one response per command
mode inside the group brackets. So if there are two volume commands in one
group bracket, there will only be one volume response.

Group commands are also used for memory edit function, this will be discussed
later.

Command Delays

Delays are not required between individual commands or group commands
when sending up to 32 commands at a time to the matrix switch. For more than
32 commands, wait 500ms before sending.

One-way Commands

One-way commands, (where there is no programming that depends on feedback)
can be sent to the matrix at any time, regardless of the state of the matrix (e.g. on
Standby mode).

Response to Commands

The serial port does not echo characters sent, except when an invalid command
is sent. When a valid command is received and executed, code indicating the
status of the entire matrix pertaining to the received command is returned. The
contents depend on the type of command and the model.

The response will be in curly brackets { }, like in a group command, and can be
used as a command back to the matrix or be used as an input to memory edit
function.

Advertising
This manual is related to the following products: