Hi Stef204,
As Daniel said, it shall work fine with connmanctl.
Anyway, a quick test works for me:
>connmanctl> scan wifi
Scan completed for wifi
[...]
and I also see the corresponding D-Bus messages
[...]
What's the problem with 'connmanctl scan wifi'?
Maybe you can try
another method to perform the scan and retrieve the service list,
via the dbus interface. By inline commands, you can use dbus-send:
dbus-send --system --print-reply --dest=net.connman /net/connman/technology/wifi
net.connman.Technology.Scan
dbus-send --system --print-reply --dest=net.connman / net.connman.Manager.GetServices
or gdbus call:
gdbus call --system -d net.connman -o /net/connman/technology/wifi -m
net.connman.Technology.Scan
gdbus call --system -d net.connman -o / -m net.connman.Manager.GetServices
Hoping it will help to clarify the situation,
Emmanuel