Compatability issues between RAS GPRS and phone - Windows Mobile Development and Hacking General

I'm having problems using the receivng and making phone calls whilst a GPRS session is active. I'm using third part components to make the RAS connection, but when a phone call is made or received the connection utility is locked out and cannot make another successful connection until the device is reset. Even manual connections cannot be done until the device is reset. I have tried connecting manually, and when a phone call is made or received the GPRS session is simply suspended, and reactivates when the phone call is over. I have tested several third party components and they all have the same problem. One of them said there was nothing they could do about it as it was a problem with the RAS DLL. Is this true? Is it not possible to programatically create a GPRS connection via the RAS DLL whilst also being compatible with phone usage? Does anyone know a way around this problem?

Related

Problem with reconnecting with GPRS

I find that if I leave a GPRS connection on when I'm finished accessing the internet and it gets disconnected because of network problems, that I have to soft-reset the machine to reconnect. Manually disconnecting after each session solves the problem but makes GPRS less always-on. Though I've found GPRS rarely keeps the connection for long periods. Anybody else come across this problem?
BTW I'm using PPC 2002
Re-connecting GPRS
I find the same issue. When connected to a GPRS session and I either make or receive a call I lose the GPRS connection but need to do a soft boot before re-establishing a GPRS session. I have reied everything but no joy. I think a ROM upgtade is due in Jan but not sure if this will address this problem. Let me know if you have solve it.
Kevin

Disconnect GPRS using EVC++ 4.x

Hello,
I am writting Phone application using EVC++ (4.2) on PPC 2003. I am unable to crack following two issues,
1. I am successful in connecting to GPRS using Connection Manager API. To disconnect GPRS, I am using ReleaseConnection api but it does not disconnects GPRS connection. Is there any other API or RIL reference available to do this ?
2.After disconnecting from GPRS, I wanted to place a GSM TAPI call. In my program, I am able to place call, but the delay between disconnect GPRS and GSM Call Active is almost 20 seconds. I hope this is because I am not able to disconnect GPRS and TAPI does this when I issue a new outgoing call command and this scenario puts this delay.
Please help If anybody have any ideas in this regard...
best regards,
Sachin Mahajan
Dear Sachin!
You can try to do following:
1. Establish GPRS connection by using ConnMgrEstablishConnection()
2. Wait for end of establishing by using ConnMgrConnectionStatus(); CONNMGR_STATUS_CONNECTED means end of waiting
3. By using RasEnumConnections() you can find and store HRASCONN of your active GPRS connection (by name or simply first found)
4. Some actions...
5. ConnMgrReleaseConnection() releases ConnMgr connection
6. RasHangUp( HRASCONN ) hangs up RAS connection if p. 5 didn't do it
Sincerely
Ruslan.
Hello Ruslan,
Many Many thanks for your kind help in GPRS disconnect. I will try this today and will let you know the status.
best regards,
Sachin Mahajan
Also you can get some interesting statistics before hanging up RAS connection by using RasGetLinkStatistics(). Connection duration, number of sent and received bytes...

Connection fails after coverage loss during data exchange

Hello, all!
I'm writing a program which is supposed to work in background and synchronize data with server. I'm facing a problem which seems to appear on all 2002 and 2003 Phone Edition devices we have in the company (but not on Smartphone devices). The scenario is as follows:
- I establish a new connection via Connection Manager API.
- I start exchanging data with server using HTTP protocol.
- At some point GSM coverage is lost (for example I'm travalling in subway) and my HTTP request fails. I stop data exchange and schedule a retry sometime later.
- Coverage is good again, my program tries to reestablish the connection but this always fails.
Looks like the device gets into some state where radio stack is corrupted because other programs (such as PIE) cannot establish a connection as well and phone calls are no longer possible. On the other hand, cradle connection to Internet works just fine. Only soft reset helps to bring the device out of this state.
Also, looks like data exchange is not necessary to reproduce this problem - open GPRS connection is enough.
Any idea why this happens and how I can walkaround this? Thanks!

Blue Angel GPRS dial by TAPI ...... ?

Hi, can anyone tell me if its possible to do a gprs dial via TAPI without using the connection manager on the i-mate PDA2K ?, I am developing a piece of software that needs full control of the dial process, GSM is not a problem and this is working succesfully using the virtual COM9 comm port once connected. GPRS however is a different story. I can find no way of configuring the APN via TAPI (I'm sure there is a way, I just haven't found it yet!). All attempts to do a GPRS dial by TAPI result in a succesful return from linemakecall but in reality does nothing, no dial, no connection made.
I have made a GPRS connection using the internal modem COM2 succesfully with AT commands but had to silence the RIL layer first, this has the unfortunate side effect of disconnecting the phone software so that incoming calls are missed, this is not acceptable for my aplpication.
Any thoughts/suggestiong greatfully received ....
cheers,
Dave

Why can't some apps establish a gprs/umts connection ?

When I use total commander's ftp client to connect to an ftp server , total commander itself is not able to establish a gprs/umts connection. I must already be connected (for example open pocket ie before I start ftp) to get it to work. This strange behavior I have also seen in other applications (i.e. pocketirc cannot connect to an irc server if I don't start pocket IE before). Why is that so ? And what can I do about it ?
I had the same problem when I started using ThunderHawk. I had to open Pocket IE to get a connection, close it and then open ThunderHawwk.
Using the always-on GPRS in the wiki (http://wiki.xda-developers.com/index.php?pagename=Universal_Registry) solved that issue for me.
Hopefully, that will work for ftp, as well. Let us know.
Boinger
what does that always on registry hack REALLY do ? Does that mean my phone will have a constant GPRS connection ? Does that not mean I must not forget to disconnect manually when I close the phone? Will that not increase the traffic ?
It is kind of an all or nothing deal. If you have ANY programs that can access GPRS data, this hack will allow it. Also, be aware that if you manually disconnect, the connection will automatically re-establish 5-10 sec later while using this hack.
As an example, I use PocketWeather, which I have setup to update every hour. It will update using GPRS if it is not Activesync-ing, every single hour of every day. If you have to pay for data by the amount used, it may not be attractive. I have an unlimited use plan through T-mobile USA for $20/month, so I just don't have to worry.
Other than this hack, I believe you will have to connect the hard way.
Strangely enough, my old PDA phone (hp 6315) would connect just fine with ThunderHawk. It also had a choice under the taskbar 'Connectivity' pop-up bubble for 'GPRS (T-Mobile)' that I could use to easily connect or disconnect. My Jasjar only lists 'T-Zones GPRS (GPRS, 3G)' in the pop-up only when it is connected. So, I suspect that the issue is either with WM5 or T-Mobile added something to the ROM of the 6315 to make it more functional with their network.

Categories

Resources