Page 1 of 1

2117 w/ ext3

Posted: Mon Jan 19, 2004 9:09 pm
by TimH
Is it normal behavior for the clock to reset to the last time of an IR u/l if you reset the remote and have to restart the extender?

Re: 2117 w/ ext3

Posted: Tue Jan 20, 2004 7:08 am
by Nils_Ekberg
TimH wrote:Is it normal behavior for the clock to reset to the last time of an IR u/l if you reset the remote and have to restart the extender?
Yes, I believe you mean version 2 by the way. I looks like David retains the registers that were set with the last upload.

Re: 2117 w/ ext3

Posted: Tue Jan 20, 2004 7:30 am
by TimH
Nils_Ekberg wrote:Yes, I believe you mean version 2 by the way. I looks like David retains the registers that were set with the last upload.
DOH! :oops:

yes, ext2

BTW; would that be considered a "bug" or just the way it is?

Thanks Nils

Re: 2117 w/ ext3

Posted: Tue Jan 20, 2004 7:43 am
by Nils_Ekberg
TimH wrote:[
BTW; would that be considered a "bug" or just the way it is?
Thanks Nils
That is the design since he is getting the time from the PC and during the reset you are probably not connected. Hmmm, I wonder if the reset will get the time if you have the cable connected?

Posted: Tue Jan 20, 2004 9:11 am
by vasqued2
Nope, the time is set by IR during the upload.

From the Readme, here's the logic used to reset the time:

The extender will automatically synchronize the time on the remote to the
time on the PC if it is invoked within one minute of the download. If you
set the time on the remote or wait longer than a minute after the download,
it will not change the time on the remote.

In reality, this code works by checking the current time on the remote,
adding the hours and minutes, and if the total is 12 (i.e. 12:00), it will
reset the time. Otherwise it will not. This means that there are
other times (i.e. 1:11, 2:10, etc.) that will reset the time when it shouldn't.
I took the shortcut to save some memory.