new plugin for changing channels (DirecTV w/serial port) (2 Viewers)

astrocreep

Portal Member
January 7, 2006
10
0
Thanks!

Thanks! I am making a cable as we speak. I have had nothing but trouble with the IR blaster I was attempting to use, so this may solve all of my problems.

I know this is a long shot, but does the DirecTV protocol support downloading the guide from the STB via serial?
 

astrocreep

Portal Member
January 7, 2006
10
0
Just got it working. I had to make some modifications in order for it to work on my D10-200. I guess it uses the same command set, but formats it a little differently. Still needs some testing (which I intend to do now..), but here is the code.

And did I mention how nice it is to be blaster-less?



private const byte COMMAND_PARSER_RESET = 0xFF;
private const byte D10_200_DEVICE_TYPE = 0x0D;

public bool TuneD10_200(Int32 channelNum)
{
string hexString = channelNum.ToString("x4");
byte[] bytes = new byte[7]{COMMAND_PREFIX, COMMAND_CHANNEL_SET, getByte(hexString, 0), getByte(hexString, 2), COMMAND_PARSER_RESET, COMMAND_PARSER_RESET, D10_200_DEVICE_TYPE};

_serialPort.Write(bytes, 0,7);

byte returnVal = (byte)_serialPort.ReadByte();

if (returnVal == RETURN_PROCESSING)
{
returnVal = (byte)_serialPort.ReadByte();
}


if (returnVal == RETURN_COMPLETE)
{
return true;
}

return false;
}

 

mzemina

Retired Team Member
  • Premium Supporter
  • February 23, 2005
    2,065
    14
    Tulsa, OK
    Home Country
    United States of America United States of America
    Has anyone seen or spoken with garry? I have a PM that I need answered.

    Mike Zemina
     

    ktbst

    New Member
    March 29, 2006
    1
    0
    Just created a new install of RC3 and I cannot get this plug-in to work. The DTVcontrol program will control my dtv stb through the serial port when run seperately. Is this plug-in based on the same protocols? I know my receiver uses the 'New' command set. Anyone else having issues with RC3? Any help would be greatly appreciated.
     

    Users who are viewing this thread

    Top Bottom