Getting the RSSI information in C
Hello everyone!
I'm studying socket programming in wireless devices and one of the main issues that I'm facing right now is getting the RSSI information from a client. I'm running scripts on a WRT54GL router with OpenWRT. As far as I understand, getting the RSSI information is possible with "wl rssi <client MAC>". So I thought I could use a popen(); to run a command and get the output within the program.I tried it and it prompts: Code:
root@mesh: wl rssi 00:23:08:B3:04:8C Code:
root@mesh: wl rssi 11:22:33:44:55:66 ** I also tried this method: http://bit.ly/aeiahG. I ran the code on the router, but I'm not sure where to specify the RSSI from a target client. So I would like to ask: Is there a way to get the RSSI information from an specific client in C?. Thank you. |
bump! anyone?
|
Hi,
Any success in reading RSSI from the client ? Regards, |
Hi,
I think you can try iwspy - it gives all you need. However, as far as I understand not all cards support it. Use command Code:
sudo iwspy <interface name> <ip-address to monitor> |
All times are GMT -5. The time now is 10:05 AM. |