Page 2 of 2

Posted: Wed Feb 11, 2015 11:21 am
by mdavej
Actually, nix that. Just edit the pause device, change the protocol to "Pause (Extender)", and click OK. That should do the trick. Then you'll see the new protocol on the Protocols tab.

Posted: Wed Feb 11, 2015 1:31 pm
by Ed
Ed

In both the first file I uploaded and the test file I uploaded today the first item/step in the TV key macro is

Dev_TV
I'm beginning to think there's something in the water here in Texas! :lol:

I looked at your test file again. There is no Dev_TV in the TV macro because the file I downloaded does not have the extender installed. Something funny is going on, but it doesn't matter. You've got pause working.

Ed

Posted: Thu Feb 12, 2015 6:22 am
by jeajea
Ok pause is working now with my complete rmir file. :)

Posted: Mon Feb 23, 2015 9:07 pm
by unclemiltie
I just went in and looked at the code in the two extenders for the Insignia (1.01 non-combined and 3.03 combined and the code is identical for the pause protocol. I can't see how they would behave differently

3.03 code:

Code: Select all

L1FB_Start:

	ifdef	  debugpause
		    CALL	LEDblinknochk		;blink LED to indicate start
		    endif ;debugpause

		  LD	RC2,R03				;get pause value from keymove (first byte)
L1FB_1:		  LDW	RC0,Delay100ms			;100ms delay
		  CALL	DelayScanKey			;delay, scan keypad, return C=1=key pressed
		  JRC	L1FB_2				;key pressed, exit from pause loop
		  DJNZ	RC2,L1FB_1			;done delaying?  No, delay another 100ms

L1FB_2:


	ifdef	  debugpause
		    CALL	LEDblinknochk		;blink LED to indicate end
		    endif  ;debugpause

		  RET

	  	  PauseSize = $$-L1FB_Start
1.01 code:

Code: Select all

L1FB_Start:

	ifdef	  debugpause
		    CALL	LEDblinknochk	;blink LED to indicate start
		    endif ;debugpause

		  LD	RC2,R03			;get pause value from keymove (first byte)
L1FB_1:		  LDW	RC0,Delay100ms		;100ms delay
		  CALL	DelayScanKey		;delay, scan keypad, return C=0=key pressed
		  JRNC	L1FB_2			;key pressed, exit from pause loop
		  DJNZ	RC2,L1FB_1		;done delaying?  No, delay another 100ms

L1FB_2:


	ifdef	  debugpause
		    CALL	LEDblinknochk	;blink LED to indicate end
		    endif  ;debugpause

		  RET
As you can see, I can build in a debug version a blink before and after the pause to time it and to validate that it's really happening, I use that during debug of the extenders. I could build a debug version for you as well if you're still having issues.

But it appears that you've solved your issue so unless I hear otherwise I think this issue is closed

Posted: Mon Aug 24, 2015 7:10 pm
by utmba95
To summarize this for others (since I just wasted a bunch of time on this), to get pause to work on this extender, the macro must set dev_TV (for example) before calling the pause function that is mapped to a TV button. I was assuming that since I was calling the pause function from a DSM or macro when the remote was already in the TV mode that I wouldn't have to use dev_TV. However, that is not the case.

Posted: Mon Aug 24, 2015 10:00 pm
by unclemiltie
yes, that is true. The Pause is a TV Device so you need to set Dev_TV.