TCP/IP connection over GPRS stops receiving - Windows Mobile Development and Hacking General

I'm having problems with TCP/IP "freezing" with the XDA. What happens is that the XDA stops receiving messages if there's a period of inactivity over the IP connection of about 45 seconds.
The IP connection still works, and I can send messages from the XDA in the other direction, which then "unfreezes" the waiting messages and they then appear at the XDA.
GPRS is still connected throughout.
This happens both with my IP test apps and with MS Messenger. In messenger, if I start a chat with a PC and the person on the PC doesn't type anything for 45 secs, then no further message comes in from the PC until I send a message from the XDA, whereupon I get all the messages they sent to me.
This seems, therefore, to be a bug in the XDA's socket stack.
Is this a known problem and, if so, is there a fix?
I'm running BIOS version 3.12.07 ENG, 08/13/02.
Cheers,
MikeS.

Upgrade your software.
I had the same issue and fixed it by upgrading to 3.16.13 & 3.19.

Thanks bamse - was planning on doing that as soon as I get a smart card reader.

i have various different versions of the radio stack and bios on different devices but none of them are as recent as the versions you mention. can anyone tell me where to get these versions of the bios and radio software? did they come from microsoft or from the device manufacturer, or somewhere else perhaps?
thanks,
nick.

You might want to try this:
http://www.idedata.no/support/support.asp?ID=299
The files seem to be the same for all of the Scandinavian countries (SE/DK/NO), and they work just fine for me in Sweden. I don't know if anyone tried them anywhere else, but I can't see why they wouldn't work.

Thanks!
Not speaking Norwegian I'm not sure exactly what it says, but I already have Radio version 4.08 so I'm not going to change that. Is there a list of the problems that this release fixes that you know of? (There isn't one in the zip file) I'm specifically interested in fixes to the Communication Manager and GPRS connection handling and I don't know whether these would be in the BIOS upgrade or the Radio upgrade. I know that various people have Radio v6.x and ideally i'd like to get hold of this.
Any help you can give is much appreciated,
nick.

4.08 is actually way older than 3.19 (v8 compared to v19). From what I've read on this site, the first digit in the version number is sort of an area code that will differ between different areas rather than different versions. I am not sure the 3.XX would work for you as your original is 4.XX, but I think there has been a discussion about that in another thread.
What it tells you on the Norweigan page is more or less that you have to make the upgrades in the correct order, or they will fail and leave you with a non-working device.
I think the improvements you're looking for are in the radio upgrade, but for a stable device you should probably upgrade both at the same time.

I've also heard that in the UK, the O2 version of the radio stack has been 'optimised' (a moot point, since it doesn't currently work that well) for use over the O2 GPRS network, so I'm thinking it might be wise to wait for the official 4.x release. Unfortunately they're being slow in producing the update and we've got customers complaining about the reliability of the connectivity in our software when it's all down to the flaky radio stack (!)
Thanks for your help,
nick.

Just to update everyone: it was a problem with the radio stack not allocating resource for the return leg.
The problem went away when I installed radio stack 4.20.
MikeS.

GPRS has an issue. The downlink is kept alive by sending packets in hte uplink, and vice versa. So if you are sending downlink UDP data with nothing on the uplink then the GPRS downlink will timeout after 62 seconds.
So if you are coding a video or audio streaming application please send an uplink packet now and then...
(Pay attention Microsoft WMP team)

try this program:
https://www.handango.com/PlatformPr...og=30&txtSearch=gprs&sectionId=0&platformId=2

GPRS socket
Could anyone send me a sample code creating and using socket over GPRS ??
I ve only found how to send HTP request over GPRS in the forum.
I d like to be able to send packets in UDP for a VoIP softphone.
THANK YOU FOR YOUR HELP

Related

Bug / Problem List for the new PPC 2003 ROM

I just want to warn everyone the 2003 rom has many problem, since it is an internal development version. Here is the bugs I found right now.
1.Maybe it's not a "BUG". It miss the Wireless Modem which many people asked for a long time.
2.I tried Windows Media Player and Pocket Music 1.5, both can't turn off the display, which means you have to leave the display on when you listen the music. If any one can turn off the display , please tell us, may be I got some software conflicted.
3. 2 "Power" Logo on the setting menu, but the have different content. It looks like one is the new power setting tab, but it didn't provided some old fuction in the old power setting tab, so O2 kept the old one.
4. The SIM Contacts (Sim utility provided by PPC 2003) is horrible.It has NO fuction except copy the SIM card address to the phone.
5. YOU MUST NOT install Batterypack 2003 on the phone. It looks like working after you install, but your machine will never boot up after a soft-reset except hardreset the phone. (It is PPC 2003 / Battery Pack 2003 problem, not O2 / HTC's fault).
6. You will never know if the current signal support GPRS or not. It will not display the G logo in the "signal bubble".
Please add the list if you got any problem with the new rom.
If the bug I listed can't stop you install the new rom, go ahead :twisted: .
Moreover, it's not an official / final version rom, if you want stable rom, stay with XDA SE 1.1 rom.
Sorry for my horrible english~
1.Maybe it's not a "BUG". It miss the Wireless Modem which many people asked for a long time.
Click to expand...
Click to collapse
Not a bug. it was a feature added by xda-developers.
2.I tried Windows Media Player and Pocket Music 1.5, both can't turn off the display, which means you have to leave the display on when you listen the music. If any one can turn off the display , please tell us, may be I got some software conflicted.
Click to expand...
Click to collapse
tried it with windows media player and got the same thing. Pocket music 2.0 refuses to work at all
6. You will never know if the current signal support GPRS or not. It will not display the G logo in the "signal bubble".
Click to expand...
Click to collapse
when i have grps signal i have G displayed in my bubble.
Alex
kalex said:
1.Maybe it's not a "BUG". It miss the Wireless Modem which many people asked for a long time.
Click to expand...
Click to collapse
Not a bug. it was a feature added by xda-developers.
Click to expand...
Click to collapse
No, it was added in the new ROMs by Qtek and O2. Whether it's a Microsoft or HTC tool I don't know, but it's definitely not ours...
XDA developer Peter Poelman,
didn't know that. i thought it was urs.
PPC 2003
Hi all
Only autentization to VPN over cetificates is good feature for me.
Another features :?
XDA-dev ROM 1.1 is best solution
It seems the "screen toggle" bug (can't switch off the screen probelm) can be fixed by install the PocketMusic 2.0 Bundle plus the 2.0_4_3 fix.
I can see a hotkey to turrn off display with 2.0 version.
Moreover, the "auto turn off display" fuction still works on the PocketMusic 1.5 Bundle version, and 2.0 too.
It's so strange the PocketMusic 2.0 works but WMP 9.0 doesn't work.
I'm happy with the PPC2003 now. If we have to wait to long beforce the official release, will XDA-Developer release an extra SE version based on the current version of PPC2003?
It still suffers fron some sms issues, i cant get a delivery receipt, and also the time sent stamp is actually the time received.
The auto config does not work, so as a result i can't get gprs working...
(Anyone know the settings for o2 uk ?)
All in all though a good upgrade !!
i loaded the 2003 rom and only have minor issues.
1. when connecting the network says voicestream instead of t-mobile.
2. connection seems slower even with the accelerator proxy turned on. the connection used to be as high as 40k according to spb gprs monitor. now i haven't seen it break 20k.
Unit no longer powers-on when placed in sync cradle; In order to sync the unit I now have to either (a) make sure unit is turned-on before placing it into cradle, or (b) place powered-off unit in cradle, then turn power on.
Not a major issue, but certainly a back-step in functionality. Anyone else notice this?
I'm using a TMobile XDA with updated ATT radio stack and PPC2003.
To Dondi :
I have your issue too, but I didn't think it is a problem for me, since I hate the machine suddenly power on itself when I am charging it.
i guess it s even better for the screen not to be lighted all the time when plugged on the cradle
Hey all. I just installed WM2003 PE. It looks and feels great. I only have the following comments:
I have installed the ROM on my Qtek 1010.
1. I can't seem to see any MIDI ringtone support on this one (probably because it's not a final release)
2. I'm still running on my old Radio Version 3.23 and my GPRS resumes connection seamlessly after calls - which is great.
3. I've read somewhere that applications will be visible on the 'taskbar' when running, but do not get this functionality also. No worries on this though, because 'Switch' works fine with WM2003.
4. Still no ability to add custom Operator Logos.
5. Hooray for the 'Busy' tone and indication!
SPB GPRS Monitor works fine with 2003. I also wanted to know from the rest of you guys: Do you have to manually initiate GPRS connectivity after a soft-reset? Or does it pick up your default connection and auto-connect?
To killercheung and Cyberb0b: You've given me a new perspective on the XDA not automatically switching on when placed in the cradle in the off state -- I appreciate the benefits you pointed out.
Also, I did notice that when I initially loaded the Ozone beta (prior to upgrading radio stack) the GPRS symbol was being displayed regularlyand I had no problem connecting with GPRS and getting decent performance (> 20 Kbps). However, after I convinced myself to "go all the way" and also perform the Radio Stack update, I now rarely see the GPRS symbol, and GPRS perfirmance has dropped to the 1Kbps level.
Now I wonder if Ozone also updated the radio (which I perhaps subsequently "downgraded" by loading the ATT RSU). Can anyone shed some light on this?
for what i ve seen Ozone does not modifiy the radio stack, you have to upgrade it yourself useing for exemple the O2 upgrade version 4.21.
As far as i m concern using GPRS in France with Orange as operator with SE 1.1 or with ozone i have the same brandwith capacity depending on the network trafic and my position, between 10 and 30 Kbps, i use SPB GPRS manager to monitor my connexion 24/7 and see what is my data consumption day by day (it also allow me to shut GPRS off without switching the phone off).
by now using ppc2003 for about a week, i have no gprs shut down, except going out of coverage area, we poor french are not full gprs anywhere, but it works pretty good in cities.
on thing i ve notices that i guess is significant :
however it is said that Gprs connexion isn t dropped any more when an incoming CSD call start, that is true but the transmissions are stopped.
I mean i can not send or recieve data while talking on the phone line. But this is not due to the software i guess it is due to the number of channels aviable on the device usually it s 4 + 1 or 4 + 2
whereas phones like SE P800 have 6 + 4 channels allowing the to really exchange data while using CSD channel.
But nevertheless it is a good upgrade cause i do not have to kill my irc session while talking on the phone (just have to hang up fast before the irc timesout ) ).

QTEK9100 and GPRS/EDGE - AAARGGHH!!!!

For some reason - my QTEK 9100 fails to maintain the connection to my GPRS service. Once I connect, it holds the connection until I make/receive a phone call. Thereafter, the device shows the connection in place, but it fails to pass any more data through the connection. To keep using the data connection, I must either soft reset or switch flight mode on/off.
(Needless to say, I have been able to use my SIM in other GPRS-enabled phones).
ROM 1.1.7.5
Date 9/22/05
Radio 01.01.10
Protocol 4.0.13.16
ExtRom 1.1.7.105
Anyone have any ideas?
Is there a ROM upgrade or RegEdit that could do the trick?
Same **** with mine 9100 on MTS. We should get together to solve this issue. Let me know if you got the solution. My ICQ 2662731, phone no. 916 137 7540, Leonid.
Absolutely the same problem with my Qtek 9100 on MTS. Some people on the forums say it's operator's problem; others claim it's not. However, switching from MTS is not an option for me anyway (corporate cell phone number, etc.) so I would be very much obliged for any solutions, or at least hints towards what can be causing it.
One possible solution (haven't tested myself yet) is setting GPRS to 'always on' via the registry editor; however
a) Will it drain my battery much more than usual?
b) Won't GPRS get disconnected in standby mode?
hi
hi. try to initiate GPRS connection with the default inbox email. press send and receive to check email. let it connect GPRS. when someone call u. it still maitain but the during call, the other person must pick up the phone. if nobody pick up the phone. the GPRS will have problem and need to turon and turnoff radio again. this is the only to maintain gprs, that is, to initiate GPRS connection with the default inbox email.
malice93 said:
One possible solution (haven't tested myself yet) is setting GPRS to 'always on' via the registry editor;
Click to expand...
Click to collapse
I tried to set it always on, it didn't help.
malice93 said:
Absolutely the same problem with my Qtek 9100 on MTS. Some people on the forums say it's operator's problem; others claim it's not. However, switching from MTS is not an option for me anyway (corporate cell phone number, etc.) so I would be very much obliged for any solutions, or at least hints towards what can be causing it.
One possible solution (haven't tested myself yet) is setting GPRS to 'always on' via the registry editor; however
a) Will it drain my battery much more than usual?
b) Won't GPRS get disconnected in standby mode?
Click to expand...
Click to collapse
ad a) -
One thing I know for sure:
it will not drain your battery any more that when connecting gprs on demand. I used to use the "grps always on" feature and can't tell the difference in battery life.
Regardless of the "gprs always on" setting I do sometimes have problems with the connection. The icons (gprs) say it's on but no data is transferred (no e-mail/www received) but it happens very rarely and I can't tell in what circumstances.
By the way: holding the red off-hook key for 5 secs closes the gprs connection - check if it doesn't make your problem easier to bare ;-)
Maybe you could try another operator's SIM - at leat you'd know if it's the Wizard or the operator.
Salute/k
kristo_ch said:
By the way: holding the red off-hook key for 5 secs closes the gprs connection - check if it doesn't make your problem easier to bare ;-)
Click to expand...
Click to collapse
Yes, I know about this one; however, since GPRS won't reconnect anyway, this doesn't solve anything for me.
Oh well, I'll keep experimenting and hopefully Qtek will release some ROM updates in the future to deal with the problem.
Update: After playing with the settings a bit, the problem indeed seems to be with phone calls; i.e. I can disconnect/reconnect GPRS manually without any problems, but once a phone call is made or received, GPRS stops reconnecting. I have a suspicion it's actually an operator issue but haven't had time to try some other SIM yet.
malice93 said:
Yes, I know about this one; however, since GPRS won't reconnect anyway, this doesn't solve anything for me.
Oh well, I'll keep experimenting and hopefully Qtek will release some ROM updates in the future to deal with the problem.
Click to expand...
Click to collapse
I called service today about this problem, they heard nothing about it, they said. Also they invited to flash rom, that was released month ago, they said. I asked them about version but call operator didn't know.
I'm afraid to do that because they could flash older verison than I have, and there are some roms that have troubles with incoming calls, I read in russian Qtek forum.
My version:
OS: 1.3.9.4 RUS
Date: 9/29/05
Radio: 01.01.10
Protocol: 4.0.13.16
ExtROM: 1.1.7.105
I read there are some utilities to save rom but I cannot find how to save rom to hard disk to restore it in future surely.
My version is:
ROM 1.1.7.9
Date 9/16/05
Radio 01.04.10
Protocol 4.0.13.17
ExtRom 1.1.7.111
(Russian OS)
Just read on some Russian forums that there were the same problems with s100 until the new radio version was released, so I guess we just have to wait.
vishny said:
malice93 said:
One possible solution (haven't tested myself yet) is setting GPRS to 'always on' via the registry editor;
Click to expand...
Click to collapse
I tried to set it always on, it didn't help.
Click to expand...
Click to collapse
Just tried it myself, didn't work for me either.
So far, the problem can be diagnosed as: regardless of GPRS status, a phone call (outbound or received) will screw up the existing GPRS connection and any future attempts to reconnect unless a soft reset/flight mode switch is made.
I hope to god a ROM update will be available in the near future; meanwhile, any and all suggestions are welcome.
Today I visited service, they flashed me the same rom I already had. Then they tried to solve problem at least 2 hours but with no success.
I advised them to be ready for crowd of users of 9100 who connect to MTS.
Technician said I have to wait new rom update, but he cannot say nothing about release date.
I want to beleave...
Some guy at Russian forums put forth an idea that our problem might in fact be an issue with lousy MTS implementation of EDGE.
So in theory it could be solved by turning EDGE off entirely (if it is indeed possible).
Same problem on my Qtek 9100 ... is there any updates available for the ROM?
I have this same problem on both my Kjam and Qtek 9100. I am in the United States and use Cingular. I suspect this is not a carrier problem.
I'm in the US on Cingular with a Qtek 9100. I think the issue is that the carrier drops the GPRS connection after time, or the signal is lost and WM5 doesn't react. Either way, seems like leaving GPRS in constant ON mode plays into the problem rather than help it. After installing GB-SOFT Tweak http://msmobiles.com/news.php/4714.html and setting it to release GPRS if unused for more than 10 or 15 minutes, I don't get the GPRS problem nearly as often. Furthermore, when a GPRS lockup does occur, turning flight mode on and then off again restores function without the long cycle time of a soft reset
Christian
I had the same problem on my IMate and it was fixed by turning off (2sec) and then turning on your device once the GPRS connection was established. Haven't tested on my jam yet
I have the same problem since upgrading to AKU2 ROM - before I never had that issue...

No incoming phone call, while using EDGE/GPRS streaming?

I have MDA tmo (US). My radio ROM is 1.13.10.
While i am using streaming audio (http://di.fm), i cannot receive any phone calls and will not receive "missed call" notification either.
Is this "by design" or radio Rom issue? does anyone have the same issue with different ROM???
tokuro said:
I have MDA tmo (US). My radio ROM is 1.13.10.
While i am using streaming audio (http://di.fm), i cannot receive any phone calls and will not receive "missed call" notification either.
Is this "by design" or radio Rom issue? does anyone have the same issue with different ROM???
Click to expand...
Click to collapse
this issue is quite wide spreaded on polish pdaclub.pl forum, however in my case it works flawlessly. i've started downloading abt. 500 KB file via GPRS straight from Wizard and then called from another mobile. i could pick up this connection and after that PIE just asked me if i'd like to resume file downloading.
maybe this 'bug' depends on network, not neccessary on hardware...?
thx... you do have a newer radio rom. It'll be interesting to know how other ROM may work...
I think this is network issues and not phone. It depends on your carrier.
benfica88 said:
I think this is network issues and not phone. It depends on your carrier.
Click to expand...
Click to collapse
It is not a operator/network issue*. The same part of the network does not know simultanously that the GPRS is actually downloading at that instant AND also terminating a call. The two things are asynchronous contexts.
It's the handset radio/OS that handles the switch and pausing (if it's a class B device) of GPRS when a call comes in. This sounds like something that will be fixed/made less flakey in newer revisions.
(*although that's not to say that the behaviour will not be slightly different on various networks)
well, i was under that impression because every phone ive had from nokia to motorola to htc has this problem.cant receive a call while data is being downloaded.
eva_d said:
this issue is quite wide spreaded on polish pdaclub.pl forum, however in my case it works flawlessly. i've started downloading abt. 500 KB file via GPRS straight from Wizard and then called from another mobile. i could pick up this connection and after that PIE just asked me if i'd like to resume file downloading.
maybe this 'bug' depends on network, not neccessary on hardware...?
Click to expand...
Click to collapse
Samehere with Qtek 2.18 NL ROM on Dutch T-Mobile network: when i start downloading and i receive a incoming call, i can just answer the phone and the download is interrupted. When i end the call, i can select to continue download.
Sorry to bring back an old issue, but I think this is a ROM issue, I think on the custom 2.17 ROM it worked fine but I dont remmber for sure. THis is a big issue.
tokuro, you mentioned that you listen to streaming radio using GPRS/EDGE. Are you doing this without the audio skipping/rebuffering every 4 minutes or so? If so, how? What program/settings are you using?
Take a look at this , made a lot of research about the issue
http://forum.xda-developers.com/viewtopic.php?t=54738&highlight=

8525 - Pocket MSN and Connectivity Problem

Ok, in addendum to the previous post I had, I had a few problems with my 8525. First was the telnet not accessing, which is since fixed. (zaTelnet CF2 + .NET Framework upgrade). Second was the Bluetooth not responding correctly. After alot of research I found that sending as a beam will after failing to find an IR beam will present you with the option of bluetooth under "Unknown connection". So, those are fixed, which leaves me with:
My pocket msn will sign in, work for about a minute and then stop recieving messages for some reason. Then it'll work again (completely skipping any messages I should have gotten) and then stop completely. I have a feeling this might be due to connectivity to the high speed network. I only say that because I can hop on the internet explorer, browse pages for about a minute and then all the rest become unlocatable. Same way with telnet.
Device Information:
Rom Version 1.34.502.1
Rom Date 09/21/06
Radio Version 1.16.00.00
Protocol Version 32.53.7018.01H
Model Number Herm100 (Hermes 100?)
Platform PocketPC
I just got my phone a few days ago, 2gb MicroSD Card is on its way, and I'm looking to make this a really stable phone, any insight or suggestions that might be able to help are extremely appriciated (Been googling for quite a while on this and can't seem to come up with a definate solution)
Also, I won't be upgrading to the WM6, I don't want to risk bricking my phone as I am too new to changing roms etc (First PDA phone... ever)
*shameless bump*
Well, since noone responded and I have gone and done everything here, it would appear that switching from wap.cingular (Note: Not wap.cingular.com) to isp.cingular (note: not isp.cingular.com) fixed the connectivity problem. Figured I'd post it here incase anyone ran into any problems with their messenger connecting/disconnecting etc etc. Also to note, you would need the pda unlimited if you're going to use isp.cingular or you'll rack up charges fast.

[Q] Http 500 from a different server than requested

I have a problem with a Windows-Mobile 6.5 Device and my c# .NET CF 3.5 software.
I developed a POS-Software which worked quite fine, but since the newest firmware upgrade I randomly get HTTP500 errors when I "POST" a request to my REST-Server. (Only when connected via GPRS)
The Problem with that: They are not from my server, because they have a different content and they don't appear in the server logs.
Could it be, that the HTTP-Errors come from my network provider who is maybe proxying my requests?
The InternetExplorer seems to work fine.
Has anybody an idea where the HTTP500 errors could come from?
Having been working at a telco I can confirm that all traffic goes through their routers/servers. It's actually logical if You think about that they have to charge You for the traffic, so they must count the bytes. The fact that it only occurs when connected via GPRS and the fact that it's not from Your own server pretty much confirms it. But... I am suspecting that the latest firmware that You refer to has something to do with it. By firmware You mean ROM I guess. Maybe there is a flaw related to protocol handling in the ROM, have You tried with other ROMs as well? If You haven't, test it. It could also be a faulty ROM instead telco problem. Or it could be both. Anyway it's easier to test a different ROM than to get an able technical person on the line from Your service provider, who would be willing to dig through the massive logs of the telco servers and in the end declare that they can't do anything about it. That's the bottom line in 99,99% of the cases.
My 2 cents.

Categories

Resources