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:
153:424ca18dd5f0
Parent:
152:fc0bb2ba916b
Child:
154:ab86251a3ffb
diff -r fc0bb2ba916b -r 424ca18dd5f0 services/URIBeacon2Service.h
--- a/services/URIBeacon2Service.h	Fri Nov 28 14:11:20 2014 +0000
+++ b/services/URIBeacon2Service.h	Fri Nov 28 14:11:20 2014 +0000
@@ -130,25 +130,6 @@
         return encodedBytes;
     }
 
-    // URIBeacon2Service(BLEDevice &_ble, uint8_t level = 100) :
-    //     ble(_ble),
-    //     batteryLevel(level),
-    //     batteryLevelCharacteristic(GattCharacteristic::UUID_BATTERY_LEVEL_CHAR, &batteryLevel, sizeof(batteryLevel), sizeof(batteryLevel),
-    //                                GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_READ | GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_NOTIFY) {
-
-    //     static bool serviceAdded = false; /* We should only ever need to add the heart rate service once. */
-    //     if (serviceAdded) {
-    //         return;
-    //     }
-
-    //     GattCharacteristic *charTable[] = {&batteryLevelCharacteristic};
-    //     GattService         batteryService(GattService::UUID_BATTERY_SERVICE, charTable, sizeof(charTable) / sizeof(GattCharacteristic *));
-
-    //     ble.addService(batteryService);
-    //     serviceAdded = true;
-    // }
-    //
-
 private:
     static const size_t MAX_SIZEOF_PAYLOAD = 32; /* TODO */