44
Zektor Switch Serial Protocol, Version 0.16, 5/13/16
Power, Switching, and Muting
If HDMI video and HDMI audio, from source ‘3’ are all mapped to zone ‘1’, then:
^HSZ @1,?$
->
Query request sent to the A/V switch
would respond with:
^+$
<-
Indicates no errors in the command
^=HSZ @001,003
<-
Video and audio channels are all mapped to source 3
If instead, zone ‘1’ had HDMI video from source ‘3’ mapped to it, but had digital and HDMI audio
from source ‘4’ mapped to it, the response would have been:
^=HSZ.1 @001,003
<-
HDMI from source ‘3’ mapped to zone 1
^=HSZ.8 @001,004
<-
HDMI audio from source ‘4’ mapped to zone ‘1’
You can also use the ‘:’ to define a range of zones:
^HSZ @3:12,5$
this will set zone 3 through 12 to source 5.
‘HSZ’ Query Examples
To make parsing the response strings easier, only one response string is sent per zone. Or, in the case of
channel breakaways, only one response string per channel is returned. The response string is sent as a
fixed length string using leading zeroes.
You can request the mapping of multiple zones, with one command, and still only one response string
per zone will be returned, for instance:
^HSZ @1@3@4?
could return:
^+$
<-
Indicates no errors in the command
^=HSZ @001,002$
<-
All channels of source 2 mapped to zone 1
^=HSZ @009,001$
<-
All channels of source 1 mapped to zone 3
^=HSZ.1 @004,006$
<-
HDMI video from source 6 mapped to zone 4
^=HSZ.8 @004,003$
<-
HDMI audio from source 3 mapped to zone 4
You can also request the mapping of channels, for instance:
^HSZ.1 @2,?
could return:
^HSZ.1 @002,006
<-
Video from source ‘6’ mapped to zone 2
only the video channel’s status is returned.
If you plan on using breakaway options consistently you, you can have the Zektor Switch always send
the channel with the response string. This keeps you from having to parse two different types of
strings.
Using the ‘XS’ command to set the ‘CHM’ bit, will cause the Zektor Switch to always include the
channel number. The following example demonstrates this:
^XS +4$
->
Set the CHM bit
^+$
<-
Acknowledge ‘XS’ command
^=XS nnnnn$
<-
Indicates the new ‘XS’ settings
^HSZ @1,?$
->
Request mappings for zone 1
^+$
<-
Acknowledge ‘SZ’ command
^=HSZ.9 @1,4
<-
All channels of source ‘4’ mapped to zone ‘1’