background image

 

VideoReQuest Protocol Guide v1.1.2 - 5/18/04

 

Phone (518) 899-1254 

 Fax (518) 899-1251 

 

www.request.com

 

 

-

 

6 - 

Data Check Sum: 

If you are not using Check Sum (based on your Flag settings), then set this byte to 

00

h

.  

Otherwise, see 

Calculating Checksum

 below for more information. 

 
 

I n i t i a l i z i n g   t h e   C o n n e c t i o n  

Before the VideoReQuest will respond to commands OR send you feedback, you must initialize 
the connection.  This tells the VideoReQuest a number of things, including whether or not you 
wish to calculate Check Sum, how many lines of feedback you want at a time, etc.  The 
format for a “Start Communications” command is as follows: 

HEADER DATA 

Marker 

Command 

Type 

Command 

Subtype 

Flags 

Data Size 

Chk Sum 

Cmd 

Lines 

Chk Sum 

FC

h

 A0

h

 05

h

 01

h

 

Byte 1 

Byte 2 

00

h

 03

h

 00

h

 

01

h

 

06

h

 

00

h

 

 
Currently, the only variable in this string is 

Flags

, which you can set to whatever you want 

depending on whether or not you want to use Acknowledgements or Check Sum (see 

Flags

 

on the previous page for more information).  To simplify programming, it is recommended 
that you use 

00

h

, 00

h

 for the flag bytes, which turns OFF both Acknowledgements and 

Check Sum calculation. 
 

Lines: 

The 

Lines

 portion of the data section is a 1 byte value that tells the VideoReQuest how many 

lines of text you want to receive at once on the Browse and Chapters pages.  Currently, the 
only supported value is 

06

h

 
 

C a l c u l a t i n g   C h e c k s u m  

The Checksum can be calculated as follows: 

1.

 

Take the value of each byte in the string, up to but NOT including the checksum, and 
multiply it by the position in the string from left to right (the leftmost byte is byte 1) 

2.

 

Add all the values calculated in step 1 

3.

 

Convert the result to Hex 

4.

 

The rightmost Hex byte is the checksum 

 
This is done the same way for both the Header and the Data checksums. 
 

Example Header Checksum: 

 

Byte 1 

Byte 2 

Byte 3 

Byte 4 

Byte 5 

Byte 6 

Byte 7 

Byte 8 

Byte 9 

Incoming String 

FC A0 05 01 00 00 00 03 67 

Integer value 

252 

160 

5 1 0 0 0 3 n/a 

Position Multiplier 

1 2 3 4 5 6 7 8 9 

Result 

252 

320 

15 4 0 0 0 24 

n/a 

 

Sum of all Results = 252+320+15+4+0+0+0+24 = 615 = 

02

h

, 67

h

 

 
The 

rightmost

 byte of the result is 

67

h

, which is the calculated checksum.  As we can see, 

that matches the incoming checksum, so no data was lost. 
 

Содержание VideoReQuest

Страница 1: ...Communication Protocol Guide Version 1 1 2 IR RS 232 and Ethernet Interface Guide...

Страница 2: ...ideoReQuest 4 Connect Port 4 of the VideoReQuest to the RS 232 Port of the switch 5 Set the Video Switch setting on the VideoReQuest to the switch you have by going to Menu Configuration Video Options...

Страница 3: ...ts 2 4 3 Connect the RS 232 cable from the DVD changers to Ports 1 3 of the VideoReQuest 4 Connect Port 4 of the VideoReQuest to the Xantech RS232IR module 5 Set the Video Switch setting on the VideoR...

Страница 4: ...and Video to the receiver Can be Composite S Video or Component 2 Connect the Audio and Video from DVD Changers 1 3 to Inputs 2 4 3 Connect the RS 232 cable from the DVD changers to Ports 1 3 of the V...

Страница 5: ...ings 3 Using Ethernet 3 Communicating with the VideoReQuest 4 Sending Commands 4 Breakdown of Each Command Portion 4 Marker 4 Command Type 4 Command Subtype 4 Flags 5 Data Size 5 Header Check Sum 5 En...

Страница 6: ...Communication Protocol Guide v1 9 0 5 18 04 Phone 518 899 1254 Fax 518 899 1251 www request com II REVISION HISTORY Revision Number Changes 1 1 2 Initial Version...

Страница 7: ...d feedback received from the VideoReQuest For the purpose of simplicity Serial and Ethernet communication will be referred to as Serial in this document C o n v e n t i o n s U s e d 1 Throughout this...

Страница 8: ...the back of the VideoReQuest 2 Conductor Pinout Tip Signal Ring Ground Sleeve Not Connected L e a r n i n g I R C o d e s i n t o O t h e r S y s t e m s For any advanced commands 2 button key combin...

Страница 9: ...5 Ground 6 Not Used 7 RTS 8 CTS 9 Not Used S e r i a l C a b l e P i n o u t Pin VRQ Side Pin Control Side 2 3 3 2 5 5 7 8 8 7 C O M S e t t i n g s The rear serial port is used for integrating the Vi...

Страница 10: ...0h Byte 1 Byte 2 00h FFh FFh 1 Bytes 00h Breakdown of Each Command Portion Marker The Marker bytes are ALWAYS FCh A0h These bytes tell the VideoReQuest the data that follows is valid Command Type The...

Страница 11: ...ustrates how to calculate the Data Size Assume the length of the string is 25 bytes 25 characters including spaces and punctuation This means that the full Data Size is 25 bytes PLUS 3 bytes for the E...

Страница 12: ...ing it is recommended that you use 00h 00h for the flag bytes which turns OFF both Acknowledgements and Check Sum calculation Lines The Lines portion of the data section is a 1 byte value that tells t...

Страница 13: ...on or unpauses playback 01h Pause Toggle 16h Toggles playback between Pause and Unpause 01h Pause ON 17h Pauses playback 01h Pause OFF 18h Resumes playback from a Paused state 01h Stop 19h Stops playb...

Страница 14: ...a Size Chk Sum Engine Mode Data Chk Sum FCh A0h 0Ah 03h 00h 00h 00h 0Ah 00h FFh FFh 37h Genres 00h Data Size for Subtype 04h is a variable that depends on the length of the argument Calculating the 4...

Страница 15: ...129 Browse List Title Home Genres etc TBD 82 130 Browse Column 1 Header Total TBD 83 131 Browse Column 2 Header Genre Rating etc TBD 84 132 Browse Column 1 Data TBD 85 133 Browse Column 2 Data TBD 86...

Страница 16: ...st the final portion to show the current list title or the entire thing to show the full hierarchy List Size Page UP DOWN Flags and Cursor Position The List Size Page UP DOWN Flags and Cursor Position...

Страница 17: ...2 In DVD Mode Should display DVD video output Slot Number is calculated in the same manner as Cursor Position 256 BYTE1 BYTE2 Slot Number Browse Line Text The first byte of the Browse Line Text is a...

Страница 18: ...md Subtype Data Length Data Command Data Argument GENRES 04h 10 37h Genres CAST 04h 8 37h Cast DIRECTORS 04h 13 37h Directors PLOT SUMMARY 04h 16 37h Plot Summary For example to request the Genres sen...

Страница 19: ...18 04 Phone 518 899 1254 Fax 518 899 1251 www request com 13 A p p e n d i x A T h e G U I This section shows what each portion of feedback is and where it is located on the TV Out GUI Figure 1 The Br...

Страница 20: ...VideoReQuest Protocol Guide v1 1 2 5 18 04 Phone 518 899 1254 Fax 518 899 1251 www request com 14 Figure 3 The Player Details Page...

Отзывы: