On Mon, 2018-11-26 at 11:22 +0100, Damien Cassou wrote:
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.
Hi, that is welcome! here: https://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/introspection/org.freedesktop.NetworkManager.Device.Wireless.xml?id=25a0739658a19aa3e445088bbec7dca3aebd5279#n36 libnm API gets generated fom there: https://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/libnm/nm-device-wifi.c?id=25a0739658a19aa3e445088bbec7dca3aebd5279#n353 See also, the latest documentation generated for master branch: https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/ https://networkmanager.pages.freedesktop.org/NetworkManager/libnm/ ^^ these two URLs will likely change in the future. best, Thomas
Attachment:
signature.asc
Description: This is a digitally signed message part