Related
Hello together!
I'm using the ConnectionMannager of OpenNETCF to get a GPRS connection and it works just fine. But does anyone know how to make the timeout shorter before it says that the connection failes if there is no reception?
It takes up to 30 seconds until the connection fails and in this time my complete application hangs. Perhaps you know a way how to make this timeout shorter.
Thanks
Andreas
AB-Archive.com
I dont know how to shorten the gprs time out. I assume it is either a registry setting or a you would have to edit the TAPI settings. I dont understand why you need to change this functionality anyway. The code attempting to connect should be in a thread on its own to avoid the "main" app thread hanging..
Hello HickHack!
Of course, I use a separat thread for the GPRS operation, but the problem is as following:
I'm using a transponder scanner within the SDIO slot of our device (MDA II) and - I don't know why - but that doesn't like to scan when the GPRS connection is being established. As soon as the GPRS is ready it can scan again, no problem, but if I let it scan for transponder cards while establishing the GPRS connection the complete application will hang or exit with an error message (I also tested this with an barcode scanner in the SDIO slot and it was just the same problem). To me it seems as if the device in the SDIO slot doesn't get enough energy to work while GPRS is beeing established, because the control LED of the scanners goes out and on again before throwing with error messages... :-((
So I havo to SYCNLOCK the two threads so that the scanner does not scan while establishing the GPRS connection. But now when there is a temporary problem with the reception the application will always stop scanning for about 30 seconds (or even more), because the timeout of the GPRS connection is that high.
Because of that it would be really important for me to set the timeout to a much smaller value. Hopefully you have an idea what exactly to change that this is smaller.
Thank you very much in advance
Andreas
http://www.ab-archive.com
I see...
I am uncertain whether it is a power issue. I have not had enough experience with XDA's device drivers to comment. My opinion is that it might be something to do with device.exe resource sharing??
As for shortening the GPRS I cant help you. Either way it would most defitnitly be a OEM implementation you would think so you may get varying results per device.
Is it acceptable for your device driver to receive GPRS state notifications through the RIL interface? And base your scanning logic on that state?
Sorry I couldnt help anymore...
Hi
Without going through every application how can I setup the connection options to only automatically connect when wifi is available or when docked. Idealy I would like to be prompted to connect via GPRS or 3g network? Any reg hacks on this one?
Regards
Eric
GPRS connection disable or prompt
hi, I'm having the same issue as above...would like to connect to GPRS manually only.
anyone !??!
me to, i am only on a limited plan for gprs/3g and the costs are quite high 2c p kb.
i use wifi at home a lot, so usually not a problem, but dodgy activesyncs to exchange server, or accidentally opening IE auto connects 3g gprs without prompting.
Any hacks, or software that anybody knows about.
I also need this, i ran my bill up without knowing/wanting to
simon_darley said:
accidentally opening IE auto connects 3g gprs without prompting.
Click to expand...
Click to collapse
I have changed my default IE page to "about:blank" - at least it means that IE doesn't go off trying to load a page by default that I'm most likely not interested in, but it also prevents it from connecting GPRS/3G should you start it by accident.
Cheers,
Steve.
Has anyone had any luck with this? I also am on an expensive tariff and unwanted connections prove costly. I have not yet found the answer, but will keep you all posted if I stumble across a setting/hack.
Would also like some tips on this, dont know whats dialling up 3g, but everytime i looked at my phone it was bloody connected grrrr.
Im also intressted, i need like a on/off button for the gprs. My damn egress updates my blogs/rss streams all the time. I have disable autoupdate in egress but it still wants to update sometimes :/
I've found nothing yet and have resorted to removing my GPRS settings until sorted.
I will crack open C# and attempt my first PDA utility - with the aim being to prevent GPRS/GSM from connecting unless something is manually toggled. Wish me luck
dudes, this has been posted a few times already
it's a part of the t-mob ext rom.
enjoy
joe
joebongo said:
dudes, this has been posted a few times already
it's a part of the t-mob ext rom.
enjoy
joe
Click to expand...
Click to collapse
What does this cab file do exactly? Does it give you an option to manualy connect or does it turn GPRS off completely? Plus where can we find the option to turn it ON if we can?
One more thing please, can I install this cab file on my O2 XDA Exec without any conflicts since it was made for T-Mobile?
I am not 110% but I believe it appears in a number of carrier ext roms, and just stops GPRS from being attached all the time (like an idle disconnect perhaps?)
When you want GPRS, then you can connect by starting the application you want (ie : Internet Explorer) and GPRS kicks in.
Hope it helps.
Joe
couldnt find it in mine, using the imate jj.
will install and see what happens....
using vijay's method http://forum.xda-developers.com/viewtopic.php?t=37963
you still get the msg that it is trying to connect and eventually an error msg, but better than a big phone bill
Hi guys !
I've installed the .cab on my 9000 and G icon is now disappeared
In the future will be possible to uninstall the .cab and restore the icon ?
Thanks :wink:
Hi guys,
I'm all new to your forum...
I have the o2 xdII, xdaIIs and now i'm using the xda Exec.
I have a strange problem that even o2 technical support team can't fix...
When i start internet explorer it will connect to either gprs or 3g (whatever is available). when i finish browsing the internet, i just close internet explorer and then close the connection by clicking the disconnect button. Where my problem is, is when i want to reconnect to the internet again (say 5 mins after i close the last connection), i cant get any connection whatsoever. I have a good receiption (gprs and 3g). And i have this weird message :
Dialed: mobile.o2.co.uk
The answering modem has disconnected. To check your connection settings and change them if needed, tap Settings.
So after a lot of talking with o2, i still have this problem.
I have tried to uprgrade to the new rom, and nothing, i have change the settings of the cennection, still nothing. i even changed the handset as i and o2 thought it could have been a faulty handset, but still nothing...
The only solution at the present is to do a soft reset everytime i want to connect to the internet... Its very annoying !!!!
Would annyone have a solution ??? Please ?????
Thank you in advance for your help....
Personally; I wouldn't suggest closing the connection and you won't get charged any extra.
this is easy to fix, but you will lose some software you've got installed.
I had this problem and have worked it out to be conflicts between software that handles the phone line. I had mortring, phonealarm and photo contacts pro installed and my gprs would not reconnect after the 2nd attempt. Putting the phone into flight mode and then back into normal mode would allow gprs to reconnect but only once.
So I uninstalled the above 3 applications one by one and found the gprs would reconnect great with only one installed (any one it didn't matter)
So try removing software that handles the phone line until your gprs reconnect works.
Daz
I found a lot of posts where people ask for auto disconnect. My problem is the other way round: When I connect with GPRS after some 5 minutes or so my QTEK S200 disconnects by itself. This might be caused by the cab file MP_autoDisconnect_EnableDRM_prophetUA(AKU2.0)_060112.cab which I found in enhanced ROM?
I don't want to hard reset to see the effect this cab not beeing installed. Any ideas to help???
I have the same problem... lets see if anyone knows how to enable GPRS for longer then only 6 minutes.
I have the same problem... lets see if anyone knows how to enable GPRS for longer then only 6 minutes.
it's because of your mobile operator. i've the same sh.t here. it keeps disconnecting after 5-10 minutes and the traffic rounds up. and i have to pay more... i've a hima, my friend's SE W800 - same crap, keeps disconnecting. i'm sick of GSM networks, they're getting old and do not meet modern speed and reliability requirements. so i'm afraid we'll just have to wait until WiMAX or something else comes to replace an old man. cheers
You might wanna try this from wiki here:
If you want your GPRS (or EDGE) connection to always be on, set the following:
HKLM\Comm\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\|gprs connection name|\AlwaysOn = 1 (DWORD decimal)
And to turn it off:
HKLM\Comm\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\|gprs connection name|\AlwaysOn = 0 (DWORD decimal)
Note that |gprs connection name| will depend on the name you've given your GPRS connection
I'm on tmobile web n walk, so its a pain to wait for gprs to reconnect everytime.... I've just started using this for about a day, but looks ok so far... try it... see if its the magic ur looking for
zep said:
it's because of your mobile operator. i've the same sh.t here. it keeps disconnecting after 5-10 minutes and the traffic rounds up. and i have to pay more... i've a hima, my friend's SE W800 - same crap, keeps disconnecting. i'm sick of GSM networks, they're getting old and do not meet modern speed and reliability requirements. so i'm afraid we'll just have to wait until WiMAX or something else comes to replace an old man. cheers
Click to expand...
Click to collapse
I don't think it's connected to the provider as I know enough people using the same provider where GPRS stays connected a long time. The only difference we have is the PPC. I will try jamichy's solution later this week when I will be back home. In the meantime Craic Dub - does it solve the problem on your side?
jamichy said:
You might wanna try this from wiki here:
If you want your GPRS (or EDGE) connection to always be on, set the following:
HKLM\Comm\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\|gprs connection name|\AlwaysOn = 1 (DWORD decimal)
And to turn it off:
HKLM\Comm\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\|gprs connection name|\AlwaysOn = 0 (DWORD decimal)
Note that |gprs connection name| will depend on the name you've given your GPRS connection
I'm on tmobile web n walk, so its a pain to wait for gprs to reconnect everytime.... I've just started using this for about a day, but looks ok so far... try it... see if its the magic ur looking for
Click to expand...
Click to collapse
O.k. I couldn't wait and tested today. Now the connection seems to stay as long as you do not stop it.
But: It connects automatically to GPRS when you connect the phone to your provider. That's not really what I wanted. In other countries this will create extreme roaming costs.
Any other idea on how to stop this auto connect? Even using phonealarm's "do not start GPRS automatically" does not help, again it starts connecting when you dial in your Phone PIN.
:?
Seems the Reg Hack is not a brilliant idea... I have setup my device to power off display after 2min... when i press power button to come out of standby, it freezes the device for abt 40 to 50 sec
Its worse when i get an incoming call, the screen is on but does not respond to touch or pressing green button...
So i changed registry back... and bingo, everythings ok again....
But now, i've found another way, a little freeware app that does all I want and more, and you get the option to choose connect gprs on boot or connect when needed... etc... take a look at:
http://www.gb-soft.cz/XDAII/product_gprs_tweak_wm5pe_en.htm
I'm using now, and seems ok
jamichy said:
:?
Seems the Reg Hack is not a brilliant idea... I have setup my device to power off display after 2min... when i press power button to come out of standby, it freezes the device for abt 40 to 50 sec
Its worse when i get an incoming call, the screen is on but does not respond to touch or pressing green button...
So i changed registry back... and bingo, everythings ok again....
But now, i've found another way, a little freeware app that does all I want and more, and you get the option to choose connect gprs on boot or connect when needed... etc... take a look at:
http://www.gb-soft.cz/XDAII/product_gprs_tweak_wm5pe_en.htm
I'm using now, and seems ok
Click to expand...
Click to collapse
Sounds interesting. Still difficult for me to understand what it really does:
- What means "search GPRS [G] on start radio"
- What means "start [G] on start GPRS
- What means "Switch GRPS always On/Off hold till for following connection"
Can you tell me what it does non your side? Im a startting to hesitate trying to many things. I am still not convinced of WM5 - I installed GPS pgrs monitor (on QTEK CD...) which did not work together with phone alarm. And to deinstall was the ususal WM5 hassle, only using sktools and manual deletion of a file after another soft reser I was able to remove it again
Search GPRS ON start radio=gprs connects on startup
Start G on start GPRS=gprs connects when an application needs web connection, and stays connected
Switch GRPS always On/Off hold till for following connection=default settings, connect when needed, then disconnect
Havent had the phone freeze problem, and gprs connects on startup, and stays connected... which is fine for my tariff, tmobile web n walk unlimited gprs
jamichy said:
Search GPRS ON start radio=gprs connects on startup
Start G on start GPRS=gprs connects when an application needs web connection, and stays connected
Switch GRPS always On/Off hold till for following connection=default settings, connect when needed, then disconnect
Havent had the phone freeze problem, and gprs connects on startup, and stays connected... which is fine for my tariff, tmobile web n walk unlimited gprs
Click to expand...
Click to collapse
Seems to work flawlessly so far on my S200. Thanks for your help Jamichy!!
The only thing I'am still missing is EDGE in Germany... :wink:
Hello everybody.
I would my phone to disconnect after a set period of time from GPRS/EDGE/HSDPA or whatever else.
I tried registry hack, as mentioned here http://forum.xda-developers.com/showthread.php?t=377873.
I tried HD tweak and GS-SOFT tweak too. In every case I noticed that the registry key change effectively, but unfortunately the connection remains active.
Any solution?
Thanks in advance
Hello,
i have the same behavior, i tried GBSOFT and GPRS auto-disconnect, after the installation i can see that cachetime is 600 seconds in the registry and my connection is not closed after 5 minutes so I don't know how to stop it.
Sometimes the radio signal icon is not changed back to a G but the connection is really closed.
Tyrion84 said:
Hello everybody.
I would my phone to disconnect after a set period of time from GPRS/EDGE/HSDPA or whatever else.
I tried registry hack, as mentioned here http://forum.xda-developers.com/showthread.php?t=377873.
I tried HD tweak and GS-SOFT tweak too. In every case I noticed that the registry key change effectively, but unfortunately the connection remains active.
Any solution?
Thanks in advance
Click to expand...
Click to collapse
i have the same problem whit ROM 1.14 ITA other people have the same promem with this ROM.Try another ROM like Blakcook 1.8.1 ITA by Lucapicci
Tyrion84 said:
Hello everybody.
I would my phone to disconnect after a set period of time from GPRS/EDGE/HSDPA or whatever else.
I tried registry hack, as mentioned here http://forum.xda-developers.com/showthread.php?t=377873.
I tried HD tweak and GS-SOFT tweak too. In every case I noticed that the registry key change effectively, but unfortunately the connection remains active.
Any solution?
Thanks in advance
Click to expand...
Click to collapse
I have used HD Tweak and it works perfectly. What I did find however if you set up e-mail to check about the same amount of time as the disconnect it will never disconnect or reconnects pretty clost to disconnecting. So watch the software times for connecting to retrieve data, that will force a reconnect and then another wait to disconnect.
I am having exactly the same issue.
i have also tried changing the setting in advanced config and tweak HD but still nothing. very annoying!
If in POutlook I choose the option to download e-mail once in a day, how can I change the time of retrieval?
lotw said:
I have used HD Tweak and it works perfectly. What I did find however if you set up e-mail to check about the same amount of time as the disconnect it will never disconnect or reconnects pretty clost to disconnecting. So watch the software times for connecting to retrieve data, that will force a reconnect and then another wait to disconnect.
Click to expand...
Click to collapse
what schedule do you have it set at for it to work? i've tried to get email to check every 15 and 30 mintues and HD Tweak to disconnect after 1 minute and 5 minutes and just about every combination of them both and none of them will get the phone to disconnect data connection after retrieving email....help!!!
Yes, it seems new roms aren't compatible with these tweaks, did someone manage to do it? It sure is a battery drainer! :x
Start>Settings>Phone>Data>"Disable data connections (e.g. GPRS/3G) when device enters Sleep mode
Then set sleep mode to whatever you want the delay to be before it closes the data connection.
This may not be ideal for all of you, but hopefully it will help some. It works great for me. The data is never on unless I'm using it (ex. Opera) or if it's dling my email (once every 30min).
Svegetto said:
Start>Settings>Phone>Data>"Disable data connections (e.g. GPRS/3G)
Click to expand...
Click to collapse
I didn't fin it on my device.My rom il LP 1.8.1 based on 1.19WWE
Svegetto said:
Start>Settings>Phone>Data>"Disable data connections (e.g. GPRS/3G) when device enters Sleep mode
Then set sleep mode to whatever you want the delay to be before it closes the data connection.
This may not be ideal for all of you, but hopefully it will help some. It works great for me. The data is never on unless I'm using it (ex. Opera) or if it's dling my email (once every 30min).
Click to expand...
Click to collapse
Yeah, that would make it, but when you download something or use a voip/3g call, that would cause problems...
Thank you very much for your inpuyt, it can help, 'till sombedy figures this out for real :x