Skip to contentSkip to conversation

android: Add initial MCAP common code

PATCH_v3 Ravi kumar Veeramally 2 participants 2 messages Apr 7, 2014 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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
index 3a62485..1eee0e2 100644
@@ -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
index 6bcf0e8..c51cce2 100644
@@ -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.

#1 lore raw

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