reading wifi signal level with C

This is a discussion on reading wifi signal level with C within the Networking/Device Communication forums, part of the General Programming Boards category; Hi! I am programming in C on Linux and I want my program to be able to read the signal ...

  1. #1
    Registered User
    Join Date
    Jul 2010
    Location
    Barcelona
    Posts
    4

    reading wifi signal level with C

    Hi!
    I am programming in C on Linux and I want my program to be able to read the signal level of the wifi network. Are there any library or api to do that? How can I get the wireless card information (mainly signal level) from my C program?
    I know that programs like airodump uses osdep routines but I dont know how to use it. Any help or orientation will be gratefull!!

    thanks

  2. #2
    Registered User
    Join Date
    Jul 2010
    Posts
    3

  3. #3
    Registered User
    Join Date
    Jul 2010
    Location
    Barcelona
    Posts
    4
    Thank you szczepanczyk, but I would like to access to the information directly, without using an external program, it has to be possible I guess.. the iwconifg signal strength's information is not very precise

  4. #4
    Registered User
    Join Date
    Jul 2010
    Posts
    3
    Hm. You can get the Kismet source code and check iwcontrol.cc file. There are ioctl functions which getting information that you need.

  5. #5
    Registered User
    Join Date
    Jul 2010
    Location
    Barcelona
    Posts
    4
    yes, that is one of the things I have in my TODO list : )

    I have also found this interesting page with an api for wireless cards under linux, I will try to use it

    Time to read and read code..

    thanks for your advices

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 8
    Last Post: 03-10-2008, 12:57 PM
  2. Signal and exception handling
    By nts in forum C++ Programming
    Replies: 23
    Last Post: 11-15-2007, 02:36 PM
  3. Kill Signal Number? - Help !
    By brett in forum C Programming
    Replies: 5
    Last Post: 06-20-2007, 04:39 AM
  4. Signal Handling
    By DarrenY in forum C Programming
    Replies: 4
    Last Post: 06-04-2006, 12:30 PM
  5. Directory reading trouble
    By samGwilliam in forum Linux Programming
    Replies: 0
    Last Post: 03-10-2002, 09:43 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21