From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> Please comment what is the way to split code between common shared part and HAL and daemon related. Currently hal_msg.c is used by "server" - BlueZ daemon and hal_msg_client.c is used by "client" - Android HAL. Andrei Emeltchenko (2): android: Implement basic HAL server android: Add HAL message helpers Makefile.android | 3 +- android/Android.mk | 2 + android/hal_msg.c | 267 ++++++++++++++++++++++++++++++++++++++++++++++ android/hal_msg.h | 5 + android/hal_msg_client.c | 123 +++++++++++++++++++++ android/hal_msg_client.h | 25 +++++ android/main.c | 10 ++ 7 files changed, 434 insertions(+), 1 deletion(-) create mode 100644 android/hal_msg.c create mode 100644 android/hal_msg_client.c create mode 100644 android/hal_msg_client.h -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html