Re: Python Wifi scan



On Mon, 2017-03-27 at 12:27 +0200, Francesco Andrisani wrote:
Hi,
please can someone help me to find an example to wifi net scanning in
python?
I find only an example with C.

There's already one that uses GObject Introspection:

https://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/examples/python/gi/show-wifi-networks.py

And there is one for plain D-Bus, though somewhat confusingly named:

https://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/examples/python/dbus/show-bssids.py

Do either of those help?

Dan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]