Hi all.
I have an application witch needs to be connected to GPRS 24x7. This application is made in Personal Java, but the connection rutines are made in C++, I use the Connection Mannager API. The application works fine, but when it is connected about 2 or 3 days, the connection is lost and is imposible to make a reconnection. The time of the lost of connection isn´t the same all the times.
Could anybody tellme why occurs this?
I'm using Jeode for Java code and EVC4 with SP4 for C++ Code.
Thank you in advance.
Best Regards.
Related
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...
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
Hi,
I' am trying to connect two Smartphones over GPRS. At first I used TAPI to establish a connection between the two devices, but I don't want to use a CSD-connection. Then I took a look at the Connection Manager from EVC++, but I think with the Connecttion Manager you are not able to connect the two phones by there phonenumbers, like with modems or tapi.
Is it even possible to do a data call over GPRS? Or is GPRS just used to connect to the internet?
thx foobar
I had an audiovox rtm8000 and I put my home phone number into the gprs connection settings. I was able to log in with terminal services client. I don't know how it could be done using a normal phone hardware.
Thanx, for your post. Could you describe a little more what you did? Which APIs did you use?
I did not do it myself. It was a tool that came with the audiovox phone card. It only works with that card.
Hi...
i am a newbie in this PPC...
i want to use my PPC to remote access my server using RAS, is it possible?
if possible, is there any guidance on how to configure it?
Thx in advance...
btw, I'm using O2 mini.
http://www.pocketlance.com/
more stuff
http://www.google.dk/search?hl=da&q=RAS+pocketpc&btnG=Google-søgning&meta=lr=lang_da|lang_en
thanks...
I'll try it...
//www.pocketlance.com/ is not what I'm looking for.
I'm looking for a method/tools so that I can work directly on my ppc to access RAS. Pocketlance on the other hand using PPC as a modem for our PC/Notebook to access RAS.
anyway, thank you for your help.
is there anybody can point me out how to do RAS directly on PPC?
umm... first of all, your phone service provider must allow Data transmission.
Then you need to set Settings->CSD Line Type to 9600 bps(v.110)... at least for me i need to do so cuz v.32 doesn't work with mine.
Then add your network in Settings->Connection to dial to your RAS server with the cellular line modem. Connect it using the new network connection. It should work.
If you get an error message saying there's no modem or the modem isn't responding in less than 1 second after trying to connect, most probably your line hasn't activated for data transmission.
That's all... my provider cut my Data communication so i can't really test it out again.
vmirage, thank you...
I'll try it A.S.A.P
Hi everybody,
after googling through a lot of forums for some weeks now, I learnd a lot about VPN with WM6, setting up a VPN Server and all of this stuff.
But nowhere was a solution for my special problem...
I have an XP-Prof Server in my network, wich is set up as a VPN Server . It is behind my AVM Fritzbox 7270 where all the port-forwardings vor PPTP (GRE and port 1723) are done.
When I connect from the "outer world" using an XP or Vista machine, everything works fine.
But: When I connect from my Handheld (Samsung B7610 Omnia Pro), the connection is dropped after round about a minute.
Within this minute, I can start a Remote-Desktop-Session etc and everything seems to be alright until the connection gets lost.
There is no other connection been started (except my normal internet connection through "web.vodafone.de") , and Active Sync is set to "manual", so it can't disturb my VPN session.
Is there anyone with an idea what I can do to get my VPN working???
Thanks in advance,
Joschi
is your main goal to do VPN
or to do Remote-Desktop ?
if the later I would suggest vnc rather then ms's options vnc is free and generally works better imho
Hi Rudegar,
and thanks for your reply.
First of all, I want to get access to my Files, located on my server.
Remote-Desktop would be nice but is not a must have...
But thanks for the tip. I'll try VNC. However, I fear that the lost connection
hasn't anything to do with RDP. Even when i just connect without using any tool the connection gets lost within one minute.
Do you have any idea?
In some other threads I read about stopping ActiveSync and adding IP-Exceptions. But none of all solved my problem.