* BLE out of band mgmt over dbus?
@ 2018-09-19 22:55 Ryan Nowakowski
2018-09-20 8:31 ` Luiz Augusto von Dentz
0 siblings, 1 reply; 4+ messages in thread
From: Ryan Nowakowski @ 2018-09-19 22:55 UTC (permalink / raw)
To: linux-bluetooth; +Cc: ryan.nowakowski, marcus.chang
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: BLE out of band mgmt over dbus?
2018-09-19 22:55 BLE out of band mgmt over dbus? Ryan Nowakowski
@ 2018-09-20 8:31 ` Luiz Augusto von Dentz
2018-09-20 23:30 ` Ryan Nowakowski
0 siblings, 1 reply; 4+ messages in thread
From: Luiz Augusto von Dentz @ 2018-09-20 8:31 UTC (permalink / raw)
To: Ryan Nowakowski
Cc: linux-bluetooth@vger.kernel.org, ryan.nowakowski, marcus.chang
Hi Ryan,
On Thu, Sep 20, 2018 at 1:55 AM, Ryan Nowakowski <tubaman@fattuba.com> 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.
> Thanks!
>
> Ryan
>
> [1] https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/mgmt-api.txt#n1279
--
Luiz Augusto von Dentz
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: BLE out of band mgmt over dbus?
2018-09-20 8:31 ` Luiz Augusto von Dentz
@ 2018-09-20 23:30 ` Ryan Nowakowski
2018-09-21 8:22 ` Luiz Augusto von Dentz
0 siblings, 1 reply; 4+ messages in thread
From: Ryan Nowakowski @ 2018-09-20 23:30 UTC (permalink / raw)
To: linux-bluetooth; +Cc: marcus.chang
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@fattuba.com> 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?
- Ryan
> > [1] https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/mgmt-api.txt#n1279
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: BLE out of band mgmt over dbus?
2018-09-20 23:30 ` Ryan Nowakowski
@ 2018-09-21 8:22 ` Luiz Augusto von Dentz
0 siblings, 0 replies; 4+ messages in thread
From: Luiz Augusto von Dentz @ 2018-09-21 8:22 UTC (permalink / raw)
To: Ryan Nowakowski; +Cc: linux-bluetooth@vger.kernel.org, marcus.chang
Hi Ryan,
On Fri, Sep 21, 2018 at 2:30 AM, Ryan Nowakowski <tubaman@fattuba.com> 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@fattuba.com> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-09-21 8:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-19 22:55 BLE out of band mgmt over dbus? Ryan Nowakowski
2018-09-20 8:31 ` Luiz Augusto von Dentz
2018-09-20 23:30 ` Ryan Nowakowski
2018-09-21 8:22 ` Luiz Augusto von Dentz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).