background image

1

HDMI5 Component Video Switch 

1

HDMI5 Component Video Switch

HDMI5 Command Reference

The HDMI5 K.I.S.S.™ Command Reference

This section defines the K.I.S.S.™ commands that are available to the users of the HDMI5.

Error Response Codes

The following are the Error Response codes that can be returned by the HDMI5.

!1<CR><LF>   

Unrecognized command.

!2<CR><LF>   

A parameter was out of range.

!3<CR><LF>   

Syntax error, badly formed command.

!4<CR><LF>   

Checksum or CRC-8 error.

!5<CR><LF>   

Too many or too few parameters.

!6<CR><LF>   

System busy cannot process command.

!7<CR><LF>   

Buffer overflow.

And some more detailed descriptions of their meanings:
Error 1: The command given was not recognized as a HDMI5 command. Commands are case 

sensitive and in the HDMI5, all commands are upper case.
Error 2: One of the parameters given was too large, or too small, the command will be ignored.
Error 3: Something was wrong with the command's syntax. There was possibly extra data at the 

end of the line, or non-decimal data as part of a parameter. There cannot be whitespace before 

or after a checksum or CRC-8 checkcode, or this error will be returned.
Error 4: The ';' or ':' character was used to indicate a Checksum or CRC-8 Checkcode was 

appended to the command string, but the Checksum or CRC-8 Checkcode did not match the 

calculated one. The command will be ingnored.
Error 5: The number of parameters given does not match the number allowed by this command.

Error 6: To prevent conflicts between the front panel Setup Mode and the serial port settings, 

when the HDMI5 is in the Setup Mode, many parameters become read only and any attempt at 

writing them will return Error 6. The “Front Panel Button Emulation” command with button code 

‘0’ can be used to exit the Setup Mode, at which point the command can be re-issued without an 

Error 6 response.
Error 7: An internal buffer has overflowed, for instance more than 16 button codes were sent as 

part of the “Front Panel Button Emulation” command.

The HDMI5 Command Set

Each command will be listed in all the different ways it can be issued. Usually each command 

has two different ways of being issued. The first is used to set its value, the second as a query 

command.

If the command has an associated response string, it will also be listed.
As described in the section on the K.I.S.S.™ protocol, whitespaces and commas are optional 

in many cases. The format used here includes a single space after the command and com-

mas, with no spaces, between parameters. The format given here does not show the optional 

checksum or CRC-8 checkcodes that may be appended to all commands, nor does it show the 

required 

<CR>

 that terminates all commands.

The response strings are the strings returned from HDMI5, which use the same format as 

described above. The format does not show the optional checksum or CRC-8 checkcodes that 

may be appended to all response strings if enabled, nor does it show the 

<CR><LF>

 that 

terminates all Response Strings.

Version Query

Query for the current firmware version and PCB type of the HDMI5.

V ?       

Request version string.

V         

Request version string.

Response String:

=V HDMI5 

firmware_ver 

(

pcb_rev

)

Where:

 

firmware_ver   = Version number of the HDMI5’s firmware.

 

pcb_rev   

= PCB Revision.

Power Control

Turn on / off, or toggle the power state of the HDMI5.

P 0       

Turn off power.

P 1       

Turn on power.

P +       

Toggle power.

P ?       

Query for current setting.

P         

Query for current setting.

HDMI5 Command Ref. 

(Cont’d)

Summary of Contents for HDMI5

Page 1: ...Rev 1 06 28 2007 Digital Video Switch 1 2 3 4 5 SEL A1 A2 HDMI5 Supplement to the HDMI5 User Guide Home Theater Solutions...

Page 2: ...el Light Intensities 16 Save Power On Default Settings 17 Query Last IR Code Received 17 Set Learnable IR Command Codes 18 Front Panel Button Emulation 19 Query Status 21 Control Settings 22 Extended...

Page 3: ...lue defaults to the current setting leaving the value unchanged The K I S S Continued space before the comma is optional Most commands can be queried for their current settings by substituting the for...

Page 4: ...owed before the and characters but NOT after them The checksum must immediately follow the character and a CRC 8 checkcode must immediately follow the character anything else including whitespace will...

Page 5: ...CR LF Notice that in the first example a checksum was not appended to the LI command When issuing a command the checksum and CRC 8 codes are sent on a command by command basis Anytime a checksum or a...

Page 6: ...ughout the com munication sequence First the LI CR command was issued by the controller While looking for an Acknowledgement or Error Response string an unsolicited Query Response is received indicati...

Page 7: ...um and a CRC 8 Checkcode A CRC is capable of finding many more and different types of errors than a checksum can A good description of its capability is described in the above referenced articles but...

Page 8: ...r detection characteristics So x 8 x 6 x 3 x 2 1 101001101 14D hex Ignore X 8 01001101 4D hex Reverse bit order 10110010 B2 hex define CRC8_POLY 0xB2 polynomial mask define CRC8_INIT 0xFF initial valu...

Page 9: ...t at writing them will return Error 6 The Front Panel Button Emulation command with button code 0 can be used to exit the Setup Mode at which point the command can be re issued without an Error 6 resp...

Page 10: ...Restore all settings to their factory defaults There is no Response String for this command Note Any value given other than 246 will generate a range error Query Last IR Code Received This command al...

Page 11: ...iliary Relay 1 Toggle 9 Auxiliary Relay 2 Toggle 10 Discrete Power On 11 Discrete Power Off 12 Discrete Breakaway Off 13 Sequence through inputs 14 Discrete Audio Breakaway Select 15 Discrete Video Br...

Page 12: ...e HDMI5 Some extended button codes are Code Description 0 When Issued Exits setup modes 0 When returned by query No buttons have been pressed since last the query 100 Always toggle power like Power To...

Page 13: ...EEPROM XS settings Reset bits indicated in settings to 0 save in EEPROM XS Back up current settings into EEPROM XS Query for current settings XS Query for current settings Response String XS settings...

Page 14: ...urrent settings XE Query for current settings Response String XE settings Where settings is a bitmapped parameter Decimal Value 4096 2048 1024 512 256 128 64 32 16 8 4 2 1 Bit Position 12 11 10 9 8 7...

Page 15: ...and Ref Cont d HDMI5 Command Ref Cont d Where rly_n Relay number 1 or 2 state State of relay 0 Off 1 On 2 Toggle If present settings are backed up in EEPROM Relay Settings Setup the behavior of the re...

Page 16: ...input is set to 1 in the vid_msk or aud_msk parameter The time value given is how long a relay remains active after a input is selected that does not match a 1 bit in vid_msk or aud_msk Mode 4 Relays...

Page 17: ...Z E K T O R 12675 Danielson Ct Suite 401 Poway CA 92064 858 748 8250 www zektor com...

Reviews: