For users to select a proper SSID to configure connman WiFi, the
device needs to scan WiFi SSIDs, we don't have Python in our device's
small footprint, we cannot run connmanctl.
Are there any methods in connman to run WiFi scan? What alternative
open source (in C or C++) are you using for scanning WiFi SSID to find
your WiFi SSID name to configuring connman WiFi remotely?
I am not pretty sure having understood your need, but
there is the dbus interface to both performing a scan and retrieving the service list.
If you want to test by inline commands, you can use dbus-send
dbus-send --system --print-reply --dest=net.connman /net/connman/technology/wifi
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
gdbus call --system -d net.connman -o / -m net.connman.Manager.GetServices
After that, you will need to integrate these 2 interfaces from ConnMan dbus API.
Hoping it will solve your problem,