android: Add initial MCAP common code
The patch keeps all MCAP specific logic in mcap-lib until it receives proper unit tests and then eventually will be used by health profile code as well.
---
v3: Fixed Szymon's comments (Copyright and android build issues)
--- android/Android.mk | 1 + android/Makefile.am | 1 + android/mcap-lib.c | 3154 +++++++++++++++++++++++++++++++++++++++++++++++++++ android/mcap-lib.h | 441 +++++++ 4 files changed, 3597 insertions(+) create mode 100644 android/mcap-lib.c create mode 100644 android/mcap-lib.h
android/Android.mk +1 -0
@@ -44,6 +44,7 @@ LOCAL_SRC_FILES := \ bluez/android/handsfree.c \ bluez/android/gatt.c \ bluez/android/health.c \ + bluez/android/mcap-lib.c \ bluez/src/log.c \ bluez/src/shared/mgmt.c \ bluez/src/shared/util.c \
android/Makefile.am +1 -0
@@ -43,6 +43,7 @@ android_bluetoothd_SOURCES = android/main.c \ android/handsfree.h android/handsfree.c \ android/gatt.h android/gatt.c \ android/health.h android/health.c \ + android/mcap-lib.h android/mcap-lib.c \ attrib/att.c attrib/att.h \ attrib/gatt.c attrib/gatt.h \ attrib/gattrib.c attrib/gattrib.h \
android/mcap-lib.c new file +3154 -0
2,986 lines not on this page · raw message
android/mcap-lib.h new file +441 -0
441 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.8.3.2
Part of the diff is not shown here. View the raw message.
Hi Ravi,
Quoted 5 lines · On Monday 07 of April 2014 13:43:05 Ravi kumar Veeramally wrote:
The patch keeps all MCAP specific logic in mcap-lib until it receives proper unit tests and then eventually will be used by health profile code as well.
---
v3: Fixed Szymon's comments (Copyright and android build issues)
Quoted 8 lines
--- android/Android.mk | 1 + android/Makefile.am | 1 + android/mcap-lib.c | 3154 +++++++++++++++++++++++++++++++++++++++++++++++++++ android/mcap-lib.h | 441 +++++++ 4 files changed, 3597 insertions(+) create mode 100644 android/mcap-lib.c create mode 100644 android/mcap-lib.h
Pushed. Thanks.
Signature · 2 lines
Best regards, Szymon Janc