Lightly modified version of the BLE stack, that doesn't bring up a DFUService by default... as we have our own.

Fork of BLE_API by Bluetooth Low Energy

Revision:
114:f1ede142a78f
Parent:
113:7e3fd573d87b
Child:
115:47e4cdd7b0c5
diff -r 7e3fd573d87b -r f1ede142a78f public/GattCharacteristic.h
--- a/public/GattCharacteristic.h	Thu Aug 28 14:17:34 2014 +0200
+++ b/public/GattCharacteristic.h	Thu Aug 28 15:50:29 2014 +0200
@@ -330,6 +330,16 @@
     uint8_t getProperties(void) const {
         return _properties;
     }
+    uint8_t getDescriptorCount(void) const {
+        return _descriptorCount;
+    }
+    GattAttribute *getDescriptor(uint8_t index) {
+        if (index >= _descriptorCount) {
+            return NULL;
+        }
+
+        return _descriptors[index];
+    }
 
 private:
     uint8_t   _properties;