wireless antenna switch

R

rf

Hello, is there a programmatic way to query the state of the wireless switch?

Perhaps there is an interface that I can register for notifications? If so,
does anyone know the interface GUID?

Thanks in advance,
Rick
 
C

Curious

Since your post does not contain the make/model of the antenna switch you
have or what you are trying to find out about it's status regretfully we can
not do much help
Can you provide a link to the switch's user manual?
 
S

smlunatick

Hello, is there a programmatic way to query the state of the wireless switch?

Perhaps there is an interface that I can register for notifications?  If so,
does anyone know the interface GUID?

Thanks in advance,
Rick

Wireless "adapters" do not have a switch for the attena. You can
normally only turn the wireless radio on / off.
 
P

Pavel A.

rf said:
Hello, is there a programmatic way to query the state of the wireless
switch?

Perhaps there is an interface that I can register for notifications? If
so,
does anyone know the interface GUID?

Thanks in advance,
Rick

Use WLANAPI:
http://msdn.microsoft.com/en-us/library/ms706275(VS.85).aspx

Call WlanQueryInterface(wlan_intf_opcode_radio_state) on a selected
interface
(need to enumerate interfaces first... ideally, you'll have only one)

This returns array of WLAN_PHY_RADIO_STATE (again, ideally
you'll have only one), which is a pair of DOT11_RADIO_STATE
values: "software state" and "hardware state".
http://msdn.microsoft.com/en-us/library/ms706918(VS.85).aspx

The latter is what you want.

If you have more help with this, please ask in
microsoft.public.win32.programmer.networks

Regards,
-- pa
 

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