Recursos para Profesionales de TI > Página principal de foros > Network Monitor > WLan antenna presence detection logic needed.
Formular una preguntaFormular una pregunta
 

PreguntaWLan antenna presence detection logic needed.

  • martes, 27 de octubre de 2009 13:38NamanM Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    I have a PC with Pci WLan card installed. I want to create a program to detect whether the antenna is connected or not. if possible this logic should not be dependent on the user connected to that network.

    I used Wmi, msndis class. but my Vista pc these classes did not have any objects instantiated.

    OS: Vista
    H/w : Belkin wireless A+g dual band desktop card - F6D3000

Todas las respuestas

  • martes, 27 de octubre de 2009 17:19Paul E LongMSFT, PropietarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    Do you mean you want to detect whether the wireless adapter is turned off by a switch (like on laptops that allow you to turn them off)?

    Paul
  • miércoles, 28 de octubre de 2009 8:24NamanM Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    Hi Paul,


    no I dont need to check the power status of the device.

    what I want is the presence of antenna.

    Some PCI wifi cards available in the mark have detachable antennas. e.g. http://en-us-support.belkin.com/app/product/detail/p/301

    In these cards the antennas are detachable. So the PC user may have removed it or may have forgotten to connect it. I just need to check whether its connected or not.

    thanks
  • miércoles, 28 de octubre de 2009 15:48Paul E LongMSFT, PropietarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    We do not have a way to detect this with the NMAPI.  You could check to see if the signal strength changes, but this could also happen based on where the laptop is connected or even how it's oriented.

    I'm not aware of any NDIS APIs to detect this, but if it's availalbe NDIS would be the component to give you this information.  You might want to investigate the APIs available there.

    It's also possible the manufactures don't or can't detect attena connection status.  Furthermore it's possible that even if it is detectable, the manufacture decided not to expose that information.