BLE out of band mgmt over dbus?
Hello bluez devs!
It seems like the mgmt API, particularly the out of band management[1] isn't available via dbus. Is there a particular reason that the mgmt stuff isn't exposed via dbus?
Thanks!
Ryan
[1] https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/mgmt-api.txt#n1279
Luiz Augusto von Dentz
maintainerHi Ryan,
Quoted 5 lines · Ryan Nowakowski
Hello bluez devs!
It seems like the mgmt API, particularly the out of band management[1] isn't available via dbus. Is there a particular reason that the mgmt stuff isn't exposed via dbus?
We have a plugin for neard, which is probably outdated by now, to do OOB, not sure if that is your use case though.
Quoted 5 lines
Thanks!
Ryan
[1] https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/mgmt-api.txt#n1279
Signature · 1 line
Luiz Augusto von Dentz
Quoted 11 lines · Luiz Augusto von Dentz
Hi Ryan,
Quoted 5 lines · Ryan Nowakowski
Hello bluez devs!
It seems like the mgmt API, particularly the out of band management[1] isn't available via dbus. Is there a particular reason that the mgmt stuff isn't exposed via dbus?
We have a plugin for neard, which is probably outdated by now, to do OOB, not sure if that is your use case though.
We've looked at the neard plugin and it doesn't quiet fit our situation. It looks like some other mgmt commands are already available via dbus(discovery, etc). I'm thinking about writing a patch that would add the OOB mgmt commands to dbus. Is this a terrible idea?
- Ryan
Quoted 1 line
Luiz Augusto von Dentz
maintainerHi Ryan,
Quoted 10 lines · Ryan Nowakowski
Quoted 9 lines · Luiz Augusto von Dentz
Hi Ryan,
Quoted 5 lines · Ryan Nowakowski
Hello bluez devs!
It seems like the mgmt API, particularly the out of band management[1] isn't available via dbus. Is there a particular reason that the mgmt stuff isn't exposed via dbus?
Quoted 7 lines
Quoted 2 lines
We have a plugin for neard, which is probably outdated by now, to do OOB, not sure if that is your use case though.
We've looked at the neard plugin and it doesn't quiet fit our situation. It looks like some other mgmt commands are already available via
dbus(discovery, etc). I'm thinking about writing a patch that would add the OOB mgmt commands to dbus. Is this a terrible idea?
Perhaps you are referring to ConnectDevice:
https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/adapter-api.txt#n154
We could perhaps introduce an optional property for the application to include the OOB data, but that should be validated by connecting and attempting to encrypt, if that fails the OOB should be discarded.
Quoted 3 lines
- Ryan
Quoted 1 line
Signature · 1 line
Luiz Augusto von Dentz