Re: BLE out of band mgmt over dbus?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ryan,

On Fri, Sep 21, 2018 at 2:30 AM, Ryan Nowakowski <tubaman@xxxxxxxxxxx> wrote:
> On Thu, Sep 20, 2018 at 11:31:18AM +0300, Luiz Augusto von Dentz wrote:
>> Hi Ryan,
>>
>> On Thu, Sep 20, 2018 at 1:55 AM, Ryan Nowakowski <tubaman@xxxxxxxxxxx> wrote:
>> > 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?

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.

> - Ryan
>
>> > [1] https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/mgmt-api.txt#n1279



-- 
Luiz Augusto von Dentz



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux