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.
--- android/Android.mk | 1 + android/Makefile.am | 1 + android/mcap-lib.c | 3153 +++++++++++++++++++++++++++++++++++++++++++++++++++ android/mcap-lib.h | 440 +++++++ 4 files changed, 3595 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 +3153 -0
2,986 lines not on this page · raw message
android/mcap-lib.h new file +440 -0
440 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.