background image

   

DIRECTV Set-Top Box Information for the Installer

 

DIRECTV, Inc. 

 

 March 5, 2008  

Version 2.2 

Page 15 of 42 

DTV-MD-0058 

4.7  STB Command Prefix 

 

0xFA       

 Required Command Prefix, precedes all commands 

 

4.8 STB Responses 

 

Table 4-5:  STB Responses List 

Response 

Code 

Response Label 

Description 

0xF0 ACK_CMD 

Command 

Acknowledge 

0xF1 NACK_CMD  Command 

Unknown 

0xF2 

ACK_PARAMS 

Parser received the correct number of parameters 

0xF3 

NACK_PARAMS 

Parser timed out when receiving parameters 

0xF4 

ACK_FCNOK 

Service command completed successfully 

0xF5 

NACK_FCNOK 

Service command completed unsuccessfully 

0xF6 

ACK_RESET 

Command parser reset - break condition detected 

0xF7 

NACK_BUSY 

A previous service command is pending completion 

0xF9 

NACK_INUSE 

Command parser in use by another device 

0xFB 

NACK_PREFIX 

Expected Prefix, prefix not sent 

0xFD 

DATA_ERROR 

Command parser reset – Communication data error 

0xFF 

CMDBUF_OVFL 

Command parser reset – Command buffer 

 

 

Содержание HR20

Страница 1: ...DIRECTV Inc DIRECTV Set Top Box Information for the Installer Published by DTV MD 0058 Rev 2 2 March 5 2008 ...

Страница 2: ...po and USB 2 0 default data rate in Table 3 1 Deleted duplicate table of Amplifier codes Table 17 1 2 November 18 2005 J G Intermediate version Never released 1 3 January 3 2007 W M Updated D11 default baud rate and added R15 in Table 2 and Table 3 Fixed baud rate in Section 3 9 2 0 March 2 2007 W M Added command GetTuner and the multituner commands Added support for HR20 2 1 August 6 2007 J G B S...

Страница 3: ...ands 10 4 1 Data Port Commands and Supported STB 10 4 2 Software Version of Supported STBs 11 4 3 Basic Data Port Commands 12 4 4 Multi Tuner Data Port Commands 13 4 5 Default Data Rate and Format 13 4 6 Command Protocol 13 4 7 STB Command Prefix 15 4 8 STB Responses 15 5 Data Port Command Details 16 5 1 Standby 0x81 16 5 2 Active 0x82 16 5 3 GetPrimaryStatus 0x83 17 5 4 GetCommandVersion 0x84 18 ...

Страница 4: ...ontrol Key Codes 35 7 Wired IR Input Port 37 7 1 Introduction 37 7 2 Interface Specifications 37 8 Appendix Low Speed Serial Port Specifications 38 8 1 Low Speed Data Port Connector 38 8 2 Low Speed Electrical Performance and Characteristics 39 8 2 1 Bit Timing Start D0 TO D7 and Stop 39 8 2 2 Idle Interval General 39 8 2 3 Idle Interval for Non Empty STB Buffer 39 8 3 Low Speed Input Characterist...

Страница 5: ...Diagram 39 List of Tables Table 2 1 Shortcut Keys Combinations 7 Table 2 2 Supported Shortcut Keys 7 Table 3 1 Type of Data Port Connector 8 Table 3 2 USB Serial Adapter 8 Table 4 1 Commands and Supported STB 10 Table 4 2 Software Version of Supported STB 11 Table 4 3 Basic Commands Summary 12 Table 4 4 Multi Tuner Commands Summary 13 Table 4 5 STB Responses List 15 Table 8 1 Timing Characteristic...

Страница 6: ...f this specification or any related discussions These specifications are provided as is and the user of these specifications assumes any and all risks associated with the use of these specifications DIRECTV expressly disclaims any and all representations or warranties express or implied regarding the specifications including without limitation any warranty as to merchantability fitness for a parti...

Страница 7: ...ation Action ACTIVE and UP Access the System Setup System Info Test screen ACTIVE and RIGHT Access the System Setup System Diagnostic hidden screens The System Diagnostic screen contains menu items to change the LNB configuration to stacked unstacked input phone settings for prefixes and call waiting and a modem test ACTIVE and DOWN Skip Guided Setup and display Startup Full Screen Live TV on the ...

Страница 8: ...ts All new DIRECTV STBs have USB 2 0 data ports The STB USB port has a host configuration Serial commands are interfaced through the data port using a USB Serial adapter The following RS 232 compatible serial port adapters will be supported Table 3 2 USB Serial Adapter Manufacturer Model USB Vendor ID USB Product ID IOGEAR GUC232A 0x067B 0x2303 ATEN UC 232A 0x067B 0x2303 BAFO BF 810 0x067B 0x2303 ...

Страница 9: ... Inc March 5 2008 Version 2 2 Page 9 of 42 DTV MD 0058 STB is running it must be reset 3 2 Data Port Interface Default Baud Rate All STBs have a default baud data rate of 9600 The data format is 1 start bit 8 data bits no parity 1 stop bit and no handshaking ...

Страница 10: ...es Yes Yes Yes Yes Yes Yes Yes Yes Yes 0x91 GetCurrentTime Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes 0x92 GetUserCommand Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes 0x93 EnableUserEntry Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes 0x94 DisableUserEntry Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes 0x95 GetReturnValue Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes 0x96 Reboot Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes 0xA5 S...

Страница 11: ... of Supported STB DIRECTV STB Software Version D10 100 0x1040 D10 200 0x1040 D10 300 0x1043 D11 100 0x1040 D12 100 0x1050 D11 300 0x1040 D11 500 0x1040 R15 100 0x1029 R15 300 0x104B R15 500 0x10FA R16 300 0x10C2 H10 1 0 4 33 H20 100 0x2021 H20 600 0x2024 H21 100 H21 200 0x4048 HR20 100 0x17E HR20 700 0x134 HR21 100 0x1FE HR21 200 0x1FE HR21 700 0x1FE HR21P 200 0x1FE 1 All Commands on H10 need a ca...

Страница 12: ...ned channel 0x90 GetSignalQuality Signal level for the tuned channel 0x91 GetCurrentTime Current time in UTC 0x92 GetUserCommand Get the remote or front panel command input by the user 0x93 EnableUserEntry Allows direct control of the STB by the remote or front panel buttons 0x94 DisableUserEntry Disables direct control of the STB by the remote or front panel buttons 0x95 GetReturnValue Returns th...

Страница 13: ...btained by issuing the command GetTuner See Table 4 1 for the list of STBs that support the multi tuner commands Table 4 4 Multi Tuner Commands Summary Comman d Code Command Label Description 0x9A GetTuner Get the number of tuners and their designations 0x8A GetPrimaryStatusMT Get the status information of current channel 0x8B GetCurrentChannelMT Get the major and minor numbers of the tuned channe...

Страница 14: ... Read 2nd Byte of a 2 Byte Command Known Command Send STB Response ACK_CMD YES NO YES YES NO A A Send STB Response ACK_RESET Send STB Response DATA_ERROR Send STB Response CMDBUF_OVFL Input Parameters Correct of Input Parameters Send STB Response NACK_PARAMS Send STB Response ACK_PARAMS Execute Command and send Return Data Stream as appropriate Parser is Busy Command completed successfully Send ST...

Страница 15: ...er received the correct number of parameters 0xF3 NACK_PARAMS Parser timed out when receiving parameters 0xF4 ACK_FCNOK Service command completed successfully 0xF5 NACK_FCNOK Service command completed unsuccessfully 0xF6 ACK_RESET Command parser reset break condition detected 0xF7 NACK_BUSY A previous service command is pending completion 0xF9 NACK_INUSE Command parser in use by another device 0xF...

Страница 16: ...e where the audio and video processing is disabled This command has the same effect as turning the box off by pressing the front panel power button Example Turn off the STB Controller STB FA Command Prefix Controller STB 81 Command ID STB Controller F0 Command acknowledged STB Controller F4 Command completed successfully 5 2 Active 0x82 Command Label Active Command Byte 0x82 Input Parameter s None...

Страница 17: ...CIDLO Network HI Network LO Xponder Year Month Day Hour Min Sec Day Of Week ROMVer3 ROMVer2 ROMVer1 ROMVer0 STS ID0 STS ID1 STS ID2 STS ID3 STS Ver CAM ID0 CAM ID1 CAM ID2 CAM ID3 CAM ID4 CAM ID5 Signal Quality Rx ID0 Rx ID1 RxID2 RxID3 RxID4 RxID5 MajorChnHI and MajorChnLO Major Channel Number 0x0000 0xFFFF MinorChnHI and MinorChnLO Minor Channel Number 0x0000 0xFFFF Primary Type 0x0B Data 0x0C A...

Страница 18: ... execute a GetPrimaryStatus command by providing the STB s health and status as defined by the Return Data Stream parameters The STB will provide current time in Universal Time Coordinate UTC unconditioned by time zone and daylight savings settings The fields ROMVer3 ROMVer2 ROMVer1 ROMVer0 STS ID0 STS ID1 STS ID2 STS ID3 STS Ver are private The CAM ID is returned in hexadecimal with zeroes stuffe...

Страница 19: ...igher 5 5 GetCurrentChannel 0x87 Command Label GetCurrentChannel Command Byte 0x87 Input Parameter s None Return Data Stream MajorChnHI MajorChnLO MinorChnHI MinorChnLO MajorChnHI 0x00 0xFF MajorChnLO 0x00 0xFF MinorChnHI 0x00 0xFF MinorChnLO 0x00 0xFF Return Response ACK_FCNOK Success NACK_FCNOK Failure STB not tuned to a DIRECTV System channel Return Value 0x0000 Success Non Zero Failure STB not...

Страница 20: ...eam Signal Quality Signal Quality 0x00 0x64 0x00 FEC unlocked and 0x64 max signal strength Return Response ACK_FCNOK Success NACK_FCNOK Failure STB not tuned to a DIRECTV System channel Return Value 0x0000 Success Non Zero Failure STB not tuned to a DIRECTV System channel Description The STB executes this command by providing the signal quality in the Return Data Stream 5 7 GetCurrentTime 0x91 Com...

Страница 21: ...Type 0x00 Key Toggle 0x01 Key Down 0x03 Key Up Device 0x00 Front Panel 0x01 Remote Key 0xA0 Enter key 38 0xB0 Pause key 43 0xA1 Info key 26 0xB1 Rewind key 44 0xA2 Active key 27 0xB2 Play key 45 0xA3 List key 29 0xB3 Stop key 46 0xA4 Back key 31 0xB4 FFWD key 47 0xA5 key 37 0xB5 Record key 48 0xB6 Replay key 49 0xC3 Select key 36 0xB7 Advance key 50 0xC5 Power ON key 1 0xE0 Digit 0 key 9 0x9A Righ...

Страница 22: ...turn data stream If a user command has not been made since the last request the NACK_FCNOK is returned instead The GetUserCommand is used to identify the type device and key For example if the user pressed and released the Select 0xC3 key then one GetUserCommand is required The GetUserCommand provides a Type of 0x00 Key Toggle Device of 0x01 Remote and Key of 0xC3 Select key On the other hand if t...

Страница 23: ...tReturnValue 0x95 Command Label GetReturnValue Command Byte 0x95 Input Parameter s None Return Data Stream RVal3 RVal2 RVal1 RVal0 Note Return data are in Hex format Return Response ACK_FCNOK Always Success Return Value None Preserves the previous return value Description The STB will execute a GetReturnValue command by returning the Return Value from the last issued Command that generated a retur...

Страница 24: ...key 27 0xB2 Play key 45 0XA3 List key 29 0xB3 Stop key 46 0XA4 Back key 31 0xB4 FFWD key 47 0XA5 key 37 0xB5 Record key 48 0xB6 Replay key 49 0xC3 Select key 36 0xB7 Advance key 50 0xC5 Power ON key 1 0xE0 Digit 0 key 9 0x9A Right Arrow key 35 0xE1 Digit 1 key 10 0x9B Left Arrow key 34 0xE2 Digit 2 key 11 0x9C Up Arrow key 32 0xE3 Digit 3 key 12 0x9D Down Arrow key 33 0xE4 Digit 4 key 13 0xE5 Digi...

Страница 25: ...tion can take place whether command DisableUserEntry 0x13 is active or not The STB will respond to the user command as though a user button on the keypad or remote control were pressed Most commands require both a down and an up key press The type Key Toggle will take 60 ms Note There is a chance for command conflict if DisableUserEntry is not active particularly from stray IR remote control signa...

Страница 26: ...ccess Error 0x0400 Buffer Overflow 0x0800 Acquisition Not Complete 0x1000 Audio Error 0x2000 Video Timeout 0x4000 Inactive Transponder 0x1001 Failure Channel not found in program guide 0x1002 Failure Channel not a DIRECTV system channel 0x1003 Failure Channel not authorized 0x1004 Failure Channel blocked by viewer 0x1005 Failure Channel rating limit exceeded 0x1006 Failure Channel spending limit e...

Страница 27: ...V Tuners DIRECTV Tuner ID 1 DIRECTV Tuner Type 1 DIRECTV Tuner ID 2 DIRECTV Tuner Type 2 DIRECTV Tuner ID 16 DIRECTV Tuner Type 16 Number of ATSC Tuners ATSC Tuner ID 1 ATSC Tuner Type 1 ATSC Tuner ID 2 ATSC Tuner Type 2 ATSC Tuner ID 16 ATSC Tuner Type 16 Number of DIRECTV Tuners 0x00 0x10 DIRECTV Tuner Designations Tuner ID 0x01 0xFF Number of ATSC Tuners 0x00 0x10 ATSC Tuner Designations Tuner ...

Страница 28: ...s Tuner ID may be used as input to the multi tuner commands 5 16 GetPrimaryStatusMT 0x8A Command Label GetPrimaryStatusMT Command Byte 0x8A Input Parameter s TunerID TunerID 0x01 0xFF Return Data Stream MajorChnHI MajorChnLO MinorChnHI MinorChnLO Primary Type Audio Type Data Type Primary SCIDHI Primary SCIDLO Audio SCIDHI Audio SCIDLO Data SCIDHI Data SCIDLO NetworkHI NetworkLO Xponder Year Month ...

Страница 29: ...1993 Month 0x01 0x0C Date 0x01 0x1F Hour 0x00 0x17 Minute 0x00 0x3B Second 0x00 0x3B Day Of Week 0x01 to 0x07 0x01 Monday 0x07 Sunday Signal Quality 0x00 0x64 0x00 FEC unlocked and 0x64 max signal strength CAM ID and Rx ID are in Hex format Return Response ACK_FCNOK Success NACK_FCNOK Failure STB not tuned to a DIRECTV System channel Return Value 0x0000 Success Non Zero Failure STB not tuned to a ...

Страница 30: ...xA27702A This command would return 00 00 0A 27 70 2A for the RID 5 17 GetCurrentChannelMT 0x8B Command Label GetCurrentChannelMT Command Byte 0x8B Input Parameter s TunerID TunerID 0x01 0xFF Return Data Stream MajorChnHI MajorChnLO MinorChnHI MinorChnLO MajorChnHI 0x00 0xFF MajorChnLO 0x00 0xFF MinorChnHI 0x00 0xFF MinorChnLO 0x00 0xFF Return Response ACK_FCNOK Success NACK_FCNOK Failure STB not t...

Страница 31: ... in the Return Data Stream 5 19 OpenUserChannelMT 0x9F Command Label OpenUserChannelMT Command Byte 0x9F Input Parameter s MajorChnHI MajorChnLO MinorChnHI MinorChnLO TunerID MajorChnHI 0x00 0xFF MajorChnLO 0x00 0xFF MinorChnHI 0x00 0xFF MinorChnLO 0x00 0xFF TunerID 0x01 0xFF Return Data Stream None Return Response ACK_FCNOK Success NACK_FCNOK Failure Not a DIRECTV System channel Return Value 0x00...

Страница 32: ...r 0x1001 Failure Channel not found in program guide 0x1002 Failure Channel not a DIRECTV system channel 0x1003 Failure Channel not authorized 0x1004 Failure Channel blocked by viewer 0x1005 Failure Channel rating limit exceeded 0x1006 Failure Channel spending limit exceeded Others Failure Bad command Description The STB will execute an OpenUserChannelMT command by tuning to and decoding streams fo...

Страница 33: ...ECTV remote control key codes for IR emitters used to control the STB This chapter also provides links pointed to documents that listed the brand setup code used for setting up the remote to control the TV and auxiliary devices It is the same code list found within the STB user interface 6 2 Brand Setup Code List The brand setup code used for setting up the remote to control the TV and auxiliary d...

Страница 34: ...DIRECTV Set Top Box Information for the Installer DIRECTV Inc March 5 2008 Version 2 2 Page 34 of 42 DTV MD 0058 Figure 6 1 RC32 remote control ...

Страница 35: ... are modulated on a 38 kHz carrier Key Label Hex Code Assignment STB Power ON 80h STB Power OFF 81h TV Power ON 5Bh 1 TV Power OFF 5Bh 1 POWER 10h TV Input 5Bh 1 Digit 0 11h Digit 1 01h Digit 2 02h Digit 3 03h Digit 4 04h Digit 5 05h Digit 6 06h Digit 7 07h Digit 8 08h Digit 9 09h CH 0Dh CH 0Eh Prev Channel 0Fh Volume UP 5Bh 1 Volume Down 5Bh 1 Mute 5Bh 1 Guide 28h Info 2Eh Menu 20h ...

Страница 36: ...TV MD 0058 Active 29h List 2Ah Exit 26h Back 27h Up 21h Down 22h Left 23h Right 24h Select 25h 12h Enter 13h Red 41h Yellow 42h Green 43h Blue 44h Pause 32h Rewind 33h Play 30h Stop 31h FFWD 34h Record 35h Replay 36h Advance 37h Format 73h 1 Default value when the remote control has not been programmed ...

Страница 37: ...e wired IR input port is designed to accept a 3 5mm stereo plug The stereo plug must be wired as indicated in Figure 7 1 Figure 7 1 Wired IR Input Plug The DIRECTV set top box s DATA IN line expects an IR blaster style signal The IR signal must be a positive logic IR waveform with a 38kHz carrier also known as modulated IR The DATA IN line is 3 3V and 5V tolerant The DIRECTV set top box s 5V OUT l...

Страница 38: ...wn in Figure 8 1 The STB will use three 3 lines L2 Rx L3 Tx and L5 Grnd for bi directional full duplex communications Figure 8 1 Low Speed Data Port Pin Assignment Diagram Line positions designated as optional may be provided but are not required to be provided by the STB as a convenience to source a TRUE state to those PC serial interface lines that may require a TRUE state for data transfer Figu...

Страница 39: ... 2 Idle Interval General The general idle interval is a minimum of zero 0 msec The maximum idle interval will be determined by the rate of transmitted data and internal STB processes when the port is opened or is determined by the service command parser when the port is closed 8 2 3 Idle Interval for Non Empty STB Buffer The idle interval will not exceed 30 ms as long as at least one byte exists i...

Страница 40: ... Output Characteristics 8 4 1 Output Drive Characteristics Pin 2 The STB output drive characteristics are as shown in Table 8 3 Table 8 3 Output Drive Characteristics Parameter Specification Space voltage 5 3 volts max at Ioh 0 mA 3 0 volts min Mark voltage 6 0 volts min at Iol 0 mA 3 0 volts max Terminating impedance resistance 3k R 7k resistive to ground Capacitance C 2500 pF 8 4 2 Passive Outpu...

Страница 41: ...Output 2 mA 20 at 3 volts and 10 mA 20 at 5 volts 8 5 Low Speed Signaling Conventions The data port signaling conventions will be as listed in Table 8 5 Table 8 5 Low Speed Data Port Signaling Conventions Interchange Voltage Negative or Positive Binary state 1 or 0 Signaling state mark or space Function OFF or ON The idle state for data port pins two 2 and three 3 will be mark ...

Страница 42: ...to individual consumers DIRECTV Trademarked name of the DIRECTV Group DVI Digital Visual Interface DVR Digital Video Recorder HDCP High bandwidth Digital Content Protection IPPV Impulse Pay Per View Movie purchases placed using the on screen displays IR Infrared IRD Integrated Receiver Decoder LHCP Left Hand Circular Polarization LNB Low Noise Block down converter NTSC National Television Systems ...

Отзывы: