Command Syntax; Command Responses; Type Of Responses And Timing Information - Zektor HDA604 User Manual

Hdmi/audio matrix switches
Table of Contents

Advertisement

Command Syntax

Command Syntax
The Zektor Switch serial command set uses an ASCII based protocol and a terminal emulator can be
used to test the serial port of the Zektor Switch. Here are some examples:
^SZ @1,4$
^HSZ @1:3,5$
^VPZ @8,+2$
^SZ @1:32,3$
^BAZ @16:32,-2
Each serial command is formatted as:
^CMD param1,param2,...$
Where:
^
CMD
param
$
For instance the name of the command to turn power on / off is '
turn on the Zektor Switch send:
^P 1$
^+$
^=P 1$
to turn off the Zektor Switch send:
^P 0$
^+$
^=P 0$
N
: Only the characters between '^' and '$' are valid, any characters sent before the '^' or after the '$'
OTE
will be ignored.
N
: Space characters are optional. For instance "
OTE
N
: Carriage Returns and Line Feeds are allowed, and are ignored.
OTE
N
: By default, the Zektor Switch adds a carriage return and a line feed to the end of its responses, after
OTE
the '$'. This makes testing with terminal software easier. Since they are outside the '^' and '$' char-
acters, they should be ignored by software drivers. If desired, this behavior can be disabled. (See:
"'XS' Control Settings" on page 52)

Command Responses

Type of Responses and Timing Information

There are three different types of responses: Acknowledgements, Errors and Query Strings.
By default, the Zektor Switch will always respond to a command, there are no "time-out" modes, if
you send a command and don't get a response within 100ms, something's wrong with the connection.
Zektor Switch Serial Protocol, Version 0.16, 5/13/16
= Set audio zone 1 to source 4
= Set HDMI zones 1-3 to source 5
= Turn up the volume 2% on zone 8
= Set analog audio zones 1-32 to source 3
= Lower the bass on zones 16-32 by 1dB
= All commands and responses start with the '^' character.
= The name of the command.
= Any number of parameters can follow a command.
= All commands and responses end with the '$' character.
->
<-
<-
->
<-
<-
P
Command sent to the A/V switch
Acknowledgment indicating valid command
Response from the A/Vswitch for new setting
Command sent to the A/V switch
Acknowledgment indicating valid command
Response from the A/V switch for new setting
" and "
^P 1$
^P1$
Command Syntax
' (must be capitalized) therefore, to
" are the same command.
27

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents