Re: D-Bus: Asking for a wifi rescan



Thomas Haller <thaller redhat com> writes:
On Mon, 2018-11-26 at 09:53 +0100, Damien Cassou wrote:
How do my code know when the scan is finished?

wait for "LastScan" property to change.  You don't really care about
the timestamp value there, just that it changes.

thank you for your answer. I would like to add the information to the
method description in the documentation:

https://developer.gnome.org/NetworkManager/stable/gdbus-org.freedesktop.NetworkManager.Device.Wireless.html#gdbus-method-org-freedesktop-NetworkManager-Device-Wireless.RequestScan

Where can I find the source of this page please? I will send a PR.

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill


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