![]() |
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.
|
Don't know if the disconnect time setting works with that program as I didnt' set it, but it does let you add/remove the disconnect and time connected info to the bubble.
|
Please someone test it!!!
|
I am testing it but the smallest time I can manage is 24 minutes. It really touchy
|
ok just tested the app from the mag with my ppc 6700 worked like a charm after 10 minutes. to change to a lesser time highlight the box and use your directional button to either more or less time...easier than trying to use stylus or finger I HAVE BEEN WAITING FOR THIS FOREVER!!¡ YAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAY
|
This app works great! set it for 30min and after that it disconnects.
|
OK fantastic--into the kitchen it will go then.
|
I may be mistaken, but I think the dword Flags2 (16) located at hlc\controlpanel\phone adds the time connected in the balloon.
|
Ok anyone that tests this can we please indicate device tested,time tested...results and carrier just for sake of argument...say for instance me...ppc 6700 sprint pcs 10 minutes 5 minutes 3 minutes all passed
|
Sprint PPC6700 on latest Kitchen
30min - works. I didn't try any other setting because Weather Panel needs the connection open in order to update itself. |
What would the registry entry be for setting the disconnect time to 5 minutes?
Thanks in advance! MJB |
300 decimal
|
xv6700 - Verizon - 1.02 Kitchen - 10 min - Works great!
|
Thanks everyone... and it looks like I may just have started something. Glad everyone can use this... not that I found it, but I DID ask the question that started everything!
As I said in the OP this isn't for me... it's for someone at the Alltel HoFo board. He's going to try it and report back and I will pass that along to you. I don't have any use for it since I do just the opposite... I want my phone to always stay connected (about every 5 minutes something or other on my phone needs to connect). If anyone's curious, the reason this came up is a "quirk" involving an Alltel 6700. When roaming on Sprint's EVDO, if he is connected for 20 minutes or so when he is inactive and then tries to use the data, it fails and times out even though it appears to be connected. Then he has to disconnect and reconnect and things are good. I've noticed the same thing on the rare occasion that I roam on Sprint. |
| All times are GMT -4. The time now is 02:46 PM. |
Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com