![]() |
Data AutoDisconnect Timer - Registry Setting?
OK, I feel like such a b00n for asking this. Believe me, I searched and found nothing. I've become kind of the de facto Apache/6700 guy over at the Alltel board on HowardForums, and the questions always seem to come to me there. Not that it bothers me except for when I don't know the answer... like on this one.
We all know that since AKU2.2 the data connection does not automatically disconnect after use (remember how it used to connect when you did a send/receive, do its thing, and then once the send/receive finished it would disconnect? Now, it stays connected for a while. How long? I don't know, since I have my reg hack in place to always stay connected to that screamin' Alltel EvDO. However, someone over there asked me where the setting is that determines how long the data stays connected once it goes idle. He needs his phone to disconnect fairly often (let's say after 10 minutes of inactivity). Where would this be controlled? I dug through the registry and couldn't find anything. I assume that's where it would be (maybe in the same area as the AlwaysOn setting under HKLM/Comm/ConnMgr), but I can't find it. Anyone? |
2 Attachment(s)
This is found in the gprs 5 minute auto disconnect cab
[AddRegistry] HKLM,"Comm\ConnMgr\Planner\Settings","SuspendResum e",0x00010000,"GPRS_bye_if_device_off" HKLM,"Comm\ConnMgr\Planner\Settings","CacheTime",0 x00010001,300 XDA-Developers.com |
Wow that's a nice find. I'm tellin ya xda-dev has tons of these "hidden gems" just waiting to be found :D
OP (and others) please post back if this works for you on CDMA. |
Quote:
|
Sorry about that. Just rename the .cab delete the .zip and it should be a valid cab.
Appears to work on my Mogul. Suspend resume |
Well, before I tried it I figured I'd look into it a bit. I assume the "300" in the "CacheTime" key is 300 seconds, hence 5 minutes.
Turns out these reg keys are already in there (running v 1.0.2 of the latest kitchen). Difference is that the "CacheTime" key has a value of 600 and the "SuspendResume" has a value of "23 00 37 00 37 00 37 00 00 00 00 00" (was trying to find a converter to see what that translates to... Total Commander is nice, but the reg edit part of it leaves something to be desired). Help me out with the conversion! So, the 600 by itself can't be the only setting, since I remember it taking a lot longer than 10 minutes to disconnect before I hacked it to always stay connected. The SuspendResume key must be the one that controls this. Ideas? Also, thanks for letting me think out loud on this. |
23 00 37 00 37 00 37 00 = #777 :)
So what appears to be happening is they are creating a null value to reconnect to after the cachetime has elapsed. And as for a reg editor, there's none better than dotfred's excellent task manager, which is included by default in the kitchen ROMs. You can also find it for download if you google. It has an easy export function... my suggestion would be to export the current state of the ...\Planner\Settings key and then make the changes here, soft reset, and justt see if it works. If it doesn't just tap on your exported file and it will import the old settings back in. |
I set my cachetime really low (3) for testing. It appears the only time it doesn't work is if activesync is running in the background on the ppc.
|
2 Attachment(s)
Here is another .cab you may try, it has a configurable gui installed to setting/system.
http://www.pocketpcmag.com/blogs/ind...&c=1&tb=1&pb=1 |
this would be a nice OEM for the next kitchen version.
|
| All times are GMT -4. The time now is 05:29 AM. |
Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com