Skip to contentSkip to conversation

android: Add initial MCAP common code

PATCH New Ravi kumar Veeramally 1 participant 1 message Mar 26, 2014 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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  |    3 +-
 android/Makefile.am |    3 +-
 android/mcap-lib.c  | 3161 +++++++++++++++++++++++++++++++++++++++++++++++++++
 android/mcap-lib.h  |  439 +++++++
 4 files changed, 3604 insertions(+), 2 deletions(-)
 create mode 100644 android/mcap-lib.c
 create mode 100644 android/mcap-lib.h
android/Android.mk +2 -1
index 0e0932d..a2083a7 100644
@@ -66,7 +66,8 @@ LOCAL_SRC_FILES := \
 	bluez/profiles/network/bnep.c \
 	bluez/attrib/gattrib.c \
 	bluez/attrib/gatt.c \
-	bluez/attrib/att.c
+	bluez/attrib/att.c \
+	bluez/android/mcap-lib.c
 
 LOCAL_C_INCLUDES := \
 	$(call include-path-for, glib) \
android/Makefile.am +2 -1
index 58ee3c9..3268034 100644
@@ -48,7 +48,8 @@ android_bluetoothd_SOURCES = android/main.c \
 				attrib/gattrib.c attrib/gattrib.h \
 				btio/btio.h btio/btio.c \
 				src/sdp-client.h src/sdp-client.c \
-				profiles/network/bnep.h profiles/network/bnep.c
+				profiles/network/bnep.h profiles/network/bnep.c \
+				android/mcap-lib.h android/mcap-lib.c
 
 android_bluetoothd_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@
 
android/mcap-lib.c new file +3161 -0

2,982 lines not on this page · raw message

android/mcap-lib.h new file +439 -0

439 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.