Skip to content

Initial Android IPC

Szymon Janc linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5android: Fix cutils/log.h stubsandroid/cutils/log.h+7 -50 replies
2/5android: Define path for HAL communication socketandroid/hal-msg.h+2 -00 replies
3/5android: Connect daemon to HAL libraryandroid/main.c+133 -00 replies
4/5android: Make HAL library wait for daemon to connect on initandroid/hal-bluetooth.c+104 -230 replies
5/5android: Remove not needed property_get function form cutils stubsandroid/cutils/properties.h+0 -270 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Initial Android IPC

Hi,

This adds initial code for Android IPC
- only connection establishment
- connecting ipc from daemon to HAL after adapter is initialized
- daemon track HAL lib lifetime and shutdown if socket is closed
- HAL library starts daemon (via android init) and wait for it to connect
- HAL library is *not* yet tracking lifetime of daemon

Signature · 19 lines
BR
Szymon Janc

Szymon Janc (5):
  android: Fix cutils/log.h stubs
  android: Define path for HAL communication socket
  android: Connect daemon to HAL library
  android: Make HAL library wait for daemon to connect on init
  android: Remove not needed property_get function form cutils stubs

 android/cutils/log.h        |  12 ++--
 android/cutils/properties.h |  27 ---------
 android/hal-bluetooth.c     | 127 ++++++++++++++++++++++++++++++++++--------
 android/hal-msg.h           |   2 +
 android/main.c              | 133 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 246 insertions(+), 55 deletions(-)

-- 
1.8.4.rc3