MC65 - Turning WWAN radio on/off programmatically

// Expert user has replied.
A Alex Esquijarosa Chavian 3 years 5 months ago
1 4 0

Team, Anyone has code to turn the WWAN radio on & off programmatically? Any help will be greatly appreciated. Best regards, Alex.

Please Register or Login to post a reply

4 Replies

P Prashanth Kadur

Take a look at CS_WANSample distirbuted with EMDK for .NET.   This sample uses the "C" TAPI call  lineSetEquipmentState() to enable or disable the radio.

S Serhiy Sekela

Hi Alex, Also, you can use API functions from ossvc.dll:

GetWirelessDevices
ChangeRadioState
FreeDevicesList

With these functions you can control power state of all radio adapters (BT, WLAN, WWAN). details: http://www.codeproject.com/Articles/103104/Radio-Power

M Marcus Kurath

The attached symscript doc might be helpful. It enables keys to enable /disable all radios. with some keystrokes..it might be adaptable

A Alex Esquijarosa Chavian

Marcus, Thanks for your quick answer but unfortunately my customer needs to control the power state of the radio from a .NET application and the implementation you sent is not suitable for it. I found a C++ implementation on the C EMDK samples so I'll try to start from that one. If anyone else have a suggestion please advice. Best regards, Alex.

CONTACT
Can’t find what you’re looking for?