wifi-scan
wifi-scan copied to clipboard
nl80211 C/C++ library for monitoring signal strength of WiFi networks
I have a slightly modified version of the ev3dev from http://rubirobot.ru/. When I execute the compiled code above I get "No associated station" comment on my robot. Here's some excerpts...
We should handle NL80211_CMD_SCAN_ABORTED command in notifications channel. Otherwise we may have the following race condition: - we read up notifications - we trigger scan if necessary - we wait...
Is there a formal way to convert the signal from dBm to percentage?
If we rely on scan trigger made by somebody else we have to make sure it's trigger for our wireless interface. This is important if using more than one wireless...
NL80211_BSS_INFORMATION_ELEMENTS is not netlink inside. It's raw binary beacon frame or probe response frame. We parse it for SSID. Currently this is reverse engineered from binary, I am not sure...
This is reasonable behaviour for library unlike dying ;-) But I am not going to need it for a while.