Page 1 of 2
Motorola QIP DVR
Posted: Mon Aug 09, 2010 12:38 pm
by gvent40
Hi, first post.
I'm trying to find a way to configure my sling solo (PL) to continuously send codes for a particular button. The DVR is a Motorola QIP and it uses GI Cable and uses setup 0476.
I found setup codes and I'm able to customize with RM, but unfamiliar with whether Sling can accomodate continuous button press or not. I'm looking for "B" button which is hex E4 and EFC 237. I need to be able to push it for 3 seconds.
Is this something I can change with protocol edit or macro? I've read about setting repeat and gap, but not sure where or how or if possible on sling. Sorry, all of this is new in last day.
Thank you,
GV
Posted: Tue Aug 10, 2010 5:32 am
by alanrichey
I would be interested in the answer as well, although I suspect the answer is no.
Posted: Tue Aug 10, 2010 6:17 am
by vickyg2003
While its not something we'd want to do for a standard protocol, you could certainly hardcode a loading of the repeat register for a certain OBC value or a certain key for a special custom app.
The standard GIProtocol is 63 bytes long, so there should be a few bytes available to code the changes and still get the special code in under the sling size limit.
Posted: Tue Aug 10, 2010 6:41 am
by The Robman
It is something that can be done, but it would require writing some assembler to make it happen.
Posted: Tue Aug 10, 2010 7:28 am
by gvent40
Robman, Vickyg, Thank you, you've given me some hope! I truly appreciate the openness of this forum and the contributors, you are providing quite a service.
Since my Assember skills don't exist yet, are there any examples you can point me to that I can reverse that may be similar?
Indebted,
GV
Posted: Tue Aug 10, 2010 7:34 am
by vickyg2003
GV, I'm hoping to get Alan up to speed on this. He has had some assembly language background and has the desire to learn how to tweak protocols. So it might take a while (a few days at most) to get this up and running. Hope you'll bear with us.
What would be helpful is if you already have an upgrade post a link so we have a starting point.
Posted: Tue Aug 10, 2010 8:13 am
by The Robman
If his DVR works with the 0476 code, any of the Motorola upgrades that use the GI Cable protocol should work, like this one...
https://www.hifi-remote.com/forums/dload ... le_id=3209
I looked at the OBCs in this file and the largest is 64, so that means that the MSB is available as a control. So my suggestion would be to add 128 to any OBCs that you want held. Then in the assembler, when the MSB is set, LOAD the number of repeats that you want into the R0D register. Remember to clear the MSB before you drop into the IR engine though.
Posted: Tue Aug 10, 2010 9:21 am
by vickyg2003
Cool, that will make it versitile.
So Alan is going to need to read the
s3c8 instruction set and in particular understand Load instruction, the Bit Test Jump Relative instruction, and the Bit Clear instruction.
Posted: Tue Aug 10, 2010 10:55 am
by The Robman
Here's my attempt at an executor to do this...
https://www.hifi-remote.com/forums/dload ... le_id=8770
I've added comments to try and make the code easier to follow.
Posted: Tue Aug 10, 2010 11:30 am
by vickyg2003
Rob's upgrade appears to be one LD command short, but we'll let Alan figure that out when he gets out of bed.
In case you haven't figured it out, the DCBUF is a data buffer that holds the variables (parameters). If this protocol had any fixed data, that would be the start of DCBUF, then the command bits follow. Since this protocol doesn't have any fixed data, the command is in DCBUF.
Posted: Tue Aug 10, 2010 12:30 pm
by The Robman
vickyg2003 wrote:Rob's upgrade appears to be one LD command short, but we'll let Alan figure that out when he gets out of bed.

I'm not seeing anything missing.
Posted: Tue Aug 10, 2010 7:01 pm
by alanrichey
vickyg2003 wrote:Rob's upgrade appears to be one LD command short, but we'll let Alan figure that out when he gets out of bed.

Actually I am in the USA at the moment on EST
Bad news is I am on a driving holiday so only have limited time. Back at the weekend.
Posted: Tue Aug 10, 2010 8:50 pm
by The Robman
Where are you Al?
Posted: Wed Aug 11, 2010 5:43 am
by alanrichey
Cape May.NJ at the moment, going whale watching today

Posted: Wed Aug 11, 2010 1:09 pm
by gvent40
Folks, sorry haven't abandoned you, but some complications in my life taking me away from experimenting.
Robman, not sure if what you built works, I'm still trying to understand how to create a BIN from that txt. I have RM and PB and I found the excel tool you built for converting to Bin, but just having a brain cramp.
if you give me high level 1,2,3 to convert to bin, I can take it from there and if there are errors, will let you know
GV