Re: D-Bus: Asking for a wifi rescan



On Mon, 2018-11-26 at 09:53 +0100, Damien Cassou wrote:
Hi,

with the interface org.freedesktop.NetworkManager.Device.Wireless, I
can
call the method "RequestScan" on a wifi device. How do my code know
when the
scan is finished?

Relevant documentation:
https://developer.gnome.org/NetworkManager/stable/gdbus-org.freedesktop.NetworkManager.Device.Wireless.html




Hi,

wait for "LastScan" property to change.

You don't really care about the timestamp value there, just that it
changes.

best,
Thomas

Attachment: signature.asc
Description: This is a digitally signed message part



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