Hello, I tried to force Internet connection "Always on" in TD2 Tools 3, but this works only if device is on. After waking up gprs connection is initializing again which lasts about 30-40 secs ... Do You have any solution for this? Maybe there is a way for faster initializing if connection cannot be still open?
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...
If I have a 3G/GPRS connection working for downloading emails, surfing th web etc and power off the unit, and then back on the connection is still active, but it doesn't work any more.
I have to disconnect and reconnect in order to download again... VERY annoying.
Anyone encountered this problem, or better, have a solution?
(A work aroudn would be to have the data connection disconnect automatically at a predefined time, but I havent found any settings for this or any thir party sw that can manage that.)
Anyway - any ideas...?
BR
Oh, I am running Radio version 1.38.00.11
How do I setup the HD so, that it disconnects the data connection automaticly when there is no applications open that use it.
You can use HD Tweaks to set "Disconnect GPRS/data after" entry to 1 or 2 minutes.
For wifi, you can set the "Wifi Mode" to make it auto disconnect once the phone goes to sleep.
Thank you for your response, but it's not what I was looking for. I need the connection to be closed right after when there is no applications open that use it. Not after 1 or 2 minutes or after the phone goes to sleep mode.
Hi
is there a way to setup the phone to wake up and check for wlan when checking mail automatic?
When I am at home my hd goes to standby and when it checks for email auto every 60 min it uses the 3g o edge connection because it is in standby and not connected to wlan. is thee no way to wake up the device when auto checking mail and then connect to my home network while checking mail and disconnecting when finished?
I know of the keep wlan alive option with hd-tweak, but this keeps my connection alive all the time and dains the battey.
Thanks fo any help!
Hi,
I'm using my Galaxy Tab's "Mobile AP" functionality (wifi hotspot). But
it seems to work well only when the Tab is plugged in. When on battery
(even full) the connection from the wifi clients is really flaky: the
wifi signal itself stays up but packet flow seems very irregular, start and
stop all the time. I can't keep a stable ssh session on a remote host,
after a few seconds uptime it gets stuck, then resumes, etc. Once the
Tab is plugged in no more problem. This is with a JMD/JME firmware.
Anyone had the same issue?
Is there a setting I could tune somewhere?
Thanks,