Welcome to Soft32 Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

How to disable wifi adapter programmatically

 
   Soft32 Home -> PDA -> Pocket PC Developer Networking RSS
Next:  Help on developing PPC firewall  
Author Message
Red Rocket

External


Since: Jul 02, 2004
Posts: 5



(Msg. 1) Posted: Thu Dec 30, 2004 10:37 am
Post subject: How to disable wifi adapter programmatically
Archived from groups: microsoft>public>pocketpc>developer>networking (more info?)

I'm trying to enable and disable the internal wifi adapters in PPC 2003. I
have an ipaq 5555 and a Dell Axim (X3 I think), and the ipaq does it fine but
the Axim doesn't. Here's the code I'm using:

NDIS_DEVICE_POWER_STATE power = NdisDeviceStateD3;
return DeviceSet(OID_PNP_SET_POWER, &power, sizeof(power));
The DeviceSet method calls a tool which sends the OID to the adapter.

Both units claim to support this OID, but only the ipaq actually turns the
power off on the wifi adapter, the Axim returns success (drivers are told to
do this even if they don't do anything) but leaves the power.

So I'm assuming this isn't the way to do it in the general case. It seems
that there should be some kind of device manager api I can use - I tried
using the setupDI routines but I was unable to link properly (I also have an
ftp control in my code but I can lose that if need be, all of the socket
functions were unresolved when I included setupapi.lib). Does anyone know
how to do this in the general case?

Thanks for any help on this and have a great 2005.
Red
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Setting Power State on 5555 WiFi Adapter - I am trying to set the power state (turn on and off) of my iPAQ 5555 WiFi adapter. I can run the "iPAQ Wireless&q...

Setting Power State on 5555 WiFi Adapter - I am trying to turn on and off the WiFi device on an HP 5555 (PPC 2003) device. I want to do the equivalent of the &qu...

How to turn off ActiveSync programmatically? - Hello, how can I turn off ActiveSync programmatically on Pocket PC 2003 and Windows CE.NET 4.2 devices? Many thanks ...

Opening bluetooth connection programmatically - Hello! If I want to establish a certain bluetooth connection I have to click on the shortcut in the Bluetooth Manager....

Programmatically setting the preffered configuration for C.. - Hi, I would like to be able to set the active configurations for Internet and Work networks through my aplication. When...

Is it possible (and how) to disable WZC on PPC2003 - I would like to disable Windows Zero Configuration Wireless (WZC) on PPC2003 for a specific adapter (or all of them if ...
       Soft32 Home -> PDA -> Pocket PC Developer Networking All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
 Windows
 Linux
 Mac
  PDA


[ Contact us | Terms of Service/Privacy Policy ]