DIRECTV R15 Installation Guide - Page 19

GetCurrentChannel 0x87

Page 19 highlights

DIRECTV Set-Top Box Information for the Installer Return Data Stream Return Response Return Value Description [Version Major] [Version Minor] [Reserved1] [Reserved2] Version Major: 0x00 - 0xFF; Version Minor: 0x00 - 0xFF Reserved1: 0x00 Reserved2: 0x00 ACK_FCNOK : Always Success 0x0000 : Always Success This command displays the version of the Data Port specification the STB software was coded to. For example: Ver 1.4 will return a [Version Major]: 0x01 and [Version Minor]: 0x04. Note: STBs supported by this document will return a version number of 1.4 or higher. 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 tuned to a DIRECTV System channel Description The STB executes this command by providing the major and minor channel number (i.e., for the DIRECTV system channel the STB is tuned to) in the Return Data Stream. Example: Find out what channel a single tuner STB is tuned to (STB is tuned to channel 276 which in hexadecimal notation is 0x114). Controller -> STB: FA (Command Prefix) Controller -> STB: 87 (Command ID) DIRECTV, Inc. Version 2.2 Page 19 of 42 March 5, 2008 DTV-MD-0058

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42

DIRECTV Set-Top Box Information for the Installer
DIRECTV, Inc.
March 5, 2008
Version 2.2
Page 19 of 42
DTV-MD-0058
Return Data Stream
[Version Major] [Version Minor] [Reserved1] [Reserved2]
*******************************************************************
Version Major:
0x00 – 0xFF;
Version Minor:
0x00 – 0xFF
Reserved1: 0x00
Reserved2: 0x00
Return Response
ACK_FCNOK
: Always Success
Return Value
0x0000
: Always Success
Description
This command displays the version of the Data Port specification the STB software
was coded to.
For example: Ver 1.4 will return a [Version Major]: 0x01 and [Version
Minor]: 0x04.
Note: STBs supported by this document will return a version number of 1.4 or higher.
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 tuned to a DIRECTV System channel
Description
The STB executes this command by providing the major and minor channel number
(i.e., for the DIRECTV system channel the STB is tuned to) in the Return Data
Stream.
Example: Find out what channel a single tuner STB is tuned to (STB is tuned to
channel 276
which in hexadecimal notation is 0x114).
Controller -> STB:
FA
(Command Prefix)
Controller -> STB:
87
(Command ID)