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

Files at this revision

API Documentation at this revision

Comitter:
finneyj
Date:
Thu May 21 09:34:46 2015 +0000
Parent:
341:8a104d9d80c1
Commit message:
Disabled autogenerated DFU Service

Changed in this revision

common/BLEDevice.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 8a104d9d80c1 -r f24e0ea73138 common/BLEDevice.cpp
--- a/common/BLEDevice.cpp	Wed Apr 15 09:05:11 2015 +0100
+++ b/common/BLEDevice.cpp	Thu May 21 09:34:46 2015 +0000
@@ -31,7 +31,7 @@
     /* Platforms enabled for DFU should introduce the DFU Service into
      * applications automatically. */
 #if defined(TARGET_OTA_ENABLED)
-    static DFUService dfu(*this); // defined static so that the object remains alive
+    //static DFUService dfu(*this); // defined static so that the object remains alive
 #endif // TARGET_OTA_ENABLED
 
     return BLE_ERROR_NONE;