Linux bluetooth development
 help / color / mirror / Atom feed
* [RFC 0/6] android: Configuration command
@ 2014-05-13 17:09 Szymon Janc
  2014-05-13 17:09 ` [RFC 1/6] android/hal-msg: Add configuration command Szymon Janc
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Szymon Janc @ 2014-05-13 17:09 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Szymon Janc

Hi,

This will allow to pass Android properties over IPC and use them
in daemon for customization eg. Device Information or default adapter name.

Open points:
 - what properties should be read, currently I use ro.product.* as those
   are present on AOSP Nexus devices, but eg. on Xperia phones there
   seem to be ro.semc.product.* with more userfriendly name, so this
   may vary upon devices. (eg ST18i vs Xperia Ray in model property).
   Or maybe just use ro.bluetooth.* and require integrator to set those
   accrodingly?

 - should we also use this instead of 'Mode' passed on service init?
   This would keep handling of all properities consistent but I'm fine
   if we decide to keep Modes special.

Comments are welcome.

BR
Szymon Janc

Szymon Janc (6):
  android/hal-msg: Add configuration command
  android: Add support for configuration command
  android: Add functions for getting configuration options
  android/hal-bluetooth: Add support for sending configuration
  android/bluetooth: Use system id for default adapter name
  android/gatt: Use configuration data for device information profile

 android/bluetooth.c     |  16 +++++--
 android/gatt.c          | 125 +++++++++++++++++++++++++-----------------------
 android/hal-bluetooth.c |  48 +++++++++++++++++++
 android/hal-msg.h       |  18 +++++++
 android/main.c          |  90 ++++++++++++++++++++++++++++++++++
 android/utils.h         |   5 ++
 6 files changed, 238 insertions(+), 64 deletions(-)

-- 
1.9.1


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

end of thread, other threads:[~2014-05-13 23:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-13 17:09 [RFC 0/6] android: Configuration command Szymon Janc
2014-05-13 17:09 ` [RFC 1/6] android/hal-msg: Add configuration command Szymon Janc
2014-05-13 17:09 ` [RFC 2/6] android: Add support for " Szymon Janc
2014-05-13 17:09 ` [RFC 3/6] android: Add functions for getting configuration options Szymon Janc
2014-05-13 17:09 ` [RFC 4/6] android/hal-bluetooth: Add support for sending configuration Szymon Janc
2014-05-13 17:09 ` [RFC 5/6] android/bluetooth: Use system id for default adapter name Szymon Janc
2014-05-13 17:09 ` [RFC 6/6] android/gatt: Use configuration data for device information profile Szymon Janc
2014-05-13 18:54 ` [RFC 0/6] android: Configuration command Marcel Holtmann
2014-05-13 20:32   ` Szymon Janc
2014-05-13 23:13     ` Marcel Holtmann

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