Hi,
On Mon, Feb 24, 2020 at 01:20:57AM -0000, pavel(a)noa-labs.com wrote:
Hello,
I want to add connman support to blueman, the bluez GUI for people not running Gnome or
KDE.
First, what would be the dbus commands in case I:
1. device is not paired
The pairing process is done via the BlueZ APIs. ConnMan doesn't do
anything here. blueman should already support this, IIRC.
2. bluez scan showed PAN and PANU available on certain device
That should work also with blueman at this point.
3. I want to connman to take care of calling bluez with given bt
address, connecting to PAN, and doing dhcp
As soon BlueZ exposed a PAN/PANU device, ConnMan will create the
service which should be visiable on D-Bus. Then you just need to call
the Connect method on the Service object.
We have a few Python scripts which show how to use the API, see the
test directory.
list-services and test-connman should be a good starting point. Also
check the documentation in the doc directory.
Thanks,
Daniel