Power On/Off GPRS on windows mobile

2019-06-08 04:24发布

问题:

i'm looking for a way to power on or off the GPRS adapter programatically.

回答1:

If you're already using the Smart Device Framework, the ability is already there in the API, as you can see in this blog entry (the blog is for WiFi but the phone radio and bluetooth work the same way).

THe other option is to call ChangeRadioState in ossvcs.dll yourself (that's what the SDF is doing).