All of lore.kernel.org
 help / color / mirror / Atom feed
* Extending BlueZ's HAL protocol
@ 2015-01-30 13:07 Thomas Zimmermann
  2015-01-30 17:59 ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Zimmermann @ 2015-01-30 13:07 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Shawn Huang

Hello,

On Mozilla's Firefox OS, we use a daemon for running Bluedroid drivers
in their own address space, and communicate with the daemon via BlueZ's
HAL protocol. [1]

We'd like to use the HAL protocol as-is, but several commands are not
defined in the spec. We especially ran into this problem with
Bluedroid's |bt_interface_t::config_hci_snoop_log|. BlueZ has a
completely different mechanism for handling the command and probably
won't ever require an opcode for it. Just adding an opcode for
|config_hci_snoop_log| to our code base will probably collide with BlueZ
official spec in the long run.

Our proposal is to reserve two opcodes per service for extensions to
commands and notifications. This would allow us to add the missing
pieces without opcode collisions.

Best regards
Thomas

[1]
https://git.kernel.org/cgit/bluetooth/bluez.git/tree/android/hal-ipc-api.txt

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-02-06 14:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-30 13:07 Extending BlueZ's HAL protocol Thomas Zimmermann
2015-01-30 17:59 ` Marcel Holtmann
2015-02-03  8:34   ` Thomas Zimmermann
2015-02-03 13:47     ` Marcel Holtmann
2015-02-06 12:04       ` Thomas Zimmermann
2015-02-06 14:56         ` Luiz Augusto von Dentz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.