manually closing the GPRS connection?

  • Thread starter Thread starter Milsnips
  • Start date Start date
M

Milsnips

Hi there,

i know that the OpenNetCF.ConnectionManager doesnt close the gprs connection
completely, can anybody tell me if its the "ConnMgrReleaseConnection" API
that can do the job, or should i be looking somewhere else?

thanks,
Paul
 
No, the ConnectionManager simply informs the system it's not using the
connection any more (which is why ours doesn't actually close the
connection). To forcibly close it you must use RAS.
 
Hi Chris.

Thanks for the info. Unfortunately i had to stop using the OpenNetCF
framework and instead found a class that just handles GPRS connection only,
as the ConnectionManager has been giving me problems with random occassions
not wanting to connect, and in recent days it just doesnt want to connect to
internet at all.

Reason being is that my user will either connect via WIFI, ActiveSync or
GPRS, so as soon as gprs connection is finished being used, i want to drop
it totally incase a WIFI connection comes available to which it can
automatically connect..

I'll have a look into RAS and see what options i have here.

thanks,
 
Back
Top