fully disconnecting a GPRS connection

M

Milsnips

Hi there,

1. When GPRS is connected on the pda via my application, if someone tries to
call the phone number, it returns me a message saying phone is switched off,
when really it isnt.

2. My Application uses any available connection (WIFI,GPRS, Activesync) to
access the internet to sync data So here is my problem.

If i use the RasHangUp API function to drop the connection, is there a
possibility that it could also drop my WIFI or ActiveSync connection too, as
all i really want is to drop the connection when its only connected via GPRS
??

thanks,
Paul
 
M

Milsnips

Hi Neil,

as im not too familiar with using API functions, i guess that i would use
the RasEnumConnections API to get the list of all active connections, then
when i programatically find the one i need to disconnect (if x=y) just
disconnect that one, correct?

thanks,
Paul.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top