Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 0/5] android: Update HAL to Android 4.4 API
@ 2013-12-20 10:25 Szymon Janc
  2013-12-20 10:25 ` [PATCH 1/5] android/hal-bluetooth: Add support for sending LE_TEST_MODE command Szymon Janc
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Szymon Janc @ 2013-12-20 10:25 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Szymon Janc

Hi,

It is important to fully implement bt_interface_t (at least with stubs/NULLs)
since Android is not checking size field from HAL and just assume memory
layout of BT HAL. This was causing crashes on 4.4 due to Android trying
to call not existing methods.

BT snoop logs enabling function is a bit special since it will be implemented
only in HAL so no need to extend IPC with that (plan is to have dedicated
service that will dump HCI traffic).

For now 4.2+ API is if-deffed in HAL library - this will be removed when
minimal Android version required will be dropped.

-- 
BR
Szymon Janc

Szymon Janc (5):
  android/hal-bluetooth: Add support for sending LE_TEST_MODE command
  android/hal-bluetooth: Add support for enabling HCI snoop dump
  android/hal-bluetooth: Add support for remote version info property
  android/hal-bluetooth: Add support for device service record property
  android/bluetooth: Add stubs for missing commands

 android/bluetooth.c         |  56 ++++++++++++++++++++++++
 android/cutils/properties.h |   1 +
 android/hal-bluetooth.c     | 104 +++++++++++++++++++++++++++++++++++++++++++-
 android/hal-msg.h           |  13 ++++++
 4 files changed, 172 insertions(+), 2 deletions(-)

-- 
1.8.3.2


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

end of thread, other threads:[~2013-12-20 14:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-20 10:25 [PATCH 0/5] android: Update HAL to Android 4.4 API Szymon Janc
2013-12-20 10:25 ` [PATCH 1/5] android/hal-bluetooth: Add support for sending LE_TEST_MODE command Szymon Janc
2013-12-20 11:57   ` Anderson Lizardo
2013-12-20 10:25 ` [PATCH 2/5] android/hal-bluetooth: Add support for enabling HCI snoop dump Szymon Janc
2013-12-20 10:25 ` [PATCH 3/5] android/hal-bluetooth: Add support for remote version info property Szymon Janc
2013-12-20 12:07   ` Anderson Lizardo
2013-12-20 10:25 ` [PATCH 4/5] android/hal-bluetooth: Add support for device service record property Szymon Janc
2013-12-20 13:18   ` Marcel Holtmann
2013-12-20 13:38     ` Szymon Janc
2013-12-20 13:43       ` Marcel Holtmann
2013-12-20 14:00         ` Szymon Janc
2013-12-20 10:25 ` [PATCH 5/5] android/bluetooth: Add stubs for missing commands Szymon Janc
2013-12-20 10:58 ` [PATCH 0/5] android: Update HAL to Android 4.4 API Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox