How to read data from WLAN card directly and bypassing the TCP/IP

Discussion in 'Wireless Networking' started by Guest, May 2, 2005.

  1. Guest

    Guest Guest

    I am using Win XP and Netgear WLAN PCMCIA card. Everything works fine normally.

    I am working on a project in which I have created a small system with a
    microcontroller connected to a WLAN card. Microcontroller sends raw data to
    WLAN card and WLAN card wraps data in a 802.11 b frame and sends it out.
    There is not usage of TCP or UDP protocol at all before the data sent out.
    These data will be read by my Netgear WLAN card attached to my laptop
    running Win XP. Since my microcontroller did not use TCP, I can not use
    regular application development tools to write my application. I need to
    write an applicatin that will run on my laptop and talk to WLAN card directly
    and bypass the TCP / UDP (Transport layer) completely. Could anyone put me in
    right direction here?

    I know that I will have to set up my laptop + WLAN card in ad-hoc mode in
    order to receive data from the microntroller + WLAN. Any help will be
    appreciated.
     
    Guest, May 2, 2005
    #1
    1. Advertisements

  2. You might be able to find code on the internet somewhere - either in drivers
    themselves or open software for windows that interacts with wireless drivers
    (I think there might be open source sniffer packages, for example).

    To my knowledge, there is not an easy public windows API do what you are
    suggesting.

    However, generally speaking, you can talk to drivers using IOCTL calls from
    most user-mode apps. See
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/devio/base/deviceiocontrol.asp

    More wireless driver info can be found here:

    http://www.microsoft.com/whdc/device/network/wireless/default.mspx
     
    Carl DaVault [MSFT], May 2, 2005
    #2
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.