Send connman mailing list submissions to connman@lists.01.org To subscribe or unsubscribe via email, send a message with subject or body 'help' to connman-requ...@lists.01.org
You can reach the person managing the list at connman-ow...@lists.01.org When replying, please edit your Subject line so it is more specific than "Re: Contents of connman digest..." Today's Topics: 1. IoT WiFi scan for connman SSID selection and configuration remotely (Jupiter) 2. RE: IoT WiFi scan for connman SSID selection and configuration remotely (VAUTRIN Emmanuel (Canal Plus Prestataire)) ---------------------------------------------------------------------- Date: Fri, 21 May 2021 20:22:40 +1000 From: Jupiter <jupiter....@gmail.com> Subject: IoT WiFi scan for connman SSID selection and configuration remotely To: connman <connman@lists.01.org> Message-ID: <CAA=hcwtpnl8bctadxlar+3y1lgu3fgr2-yqg0d9edqxfkyc...@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" Hi, 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? Thank you. Kind regards, - jupiter ------------------------------ Date: Fri, 21 May 2021 12:42:45 +0000 From: "VAUTRIN Emmanuel (Canal Plus Prestataire)" <emmanuel.vaut...@cpexterne.org> Subject: RE: IoT WiFi scan for connman SSID selection and configuration remotely To: Jupiter <jupiter....@gmail.com>, connman <connman@lists.01.org> Message-ID: <pr1pr02mb4794bb927bd1613c49b7577793...@pr1pr02mb4794.eur prd02.prod.outlook.com> Content-Type: text/plain; charset="iso-8859-1" Hi Jupiter, > 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 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 After that, you will need to integrate these 2 interfaces from ConnMan dbus API. Hoping it will solve your problem, Emmanuel ------------------------------ Subject: Digest Footer _______________________________________________ connman mailing list -- connman@lists.01.org To unsubscribe send an email to connman-le...@lists.01.org ------------------------------ End of connman Digest, Vol 67, Issue 14 ***************************************