-
Hi, I am using the library to list all WiFi networks available. I managed to do so but I cannot work out how to listen to the signal in order to detect when the scan is completed. I have tried several ways but none of them are working. Could you please provide an example to point me to the right direction? Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hello @tisauro I have an example of listening to properties changed in this comment: python-sdbus/python-sdbus#63 (comment) The example is for the BlueZ but it should work for NetworkManager once you replace the service name. |
Beta Was this translation helpful? Give feedback.
-
I tried that myself looking just for disconnections, and got LOTS of signals, but none of them seemed very helpful. Both How can I know when my |
Beta Was this translation helpful? Give feedback.
-
I added example of listening on device state changes: https://github.com/python-sdbus/python-sdbus-networkmanager/blob/master/examples/2.0.0/async/listen-device-changes-async.py @auspex do you find it useful? |
Beta Was this translation helpful? Give feedback.
Hello @tisauro
I have an example of listening to properties changed in this comment: python-sdbus/python-sdbus#63 (comment)
The example is for the BlueZ but it should work for NetworkManager once you replace the service name.