Lancaster University's fork of the mbed BLE API. Lives on github, https://github.com/lancaster-university/BLE_API

Dependents:   microbit-dal microbit-dal microbit-ble-open microbit-dal ... more

Fork of BLE_API by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

Comitter:
LancasterUniversity
Date:
Wed Apr 06 18:40:31 2016 +0100
Parent:
1134:faa0160c87ff
Child:
1136:82ebef119484
Commit message:
Synchronized with git rev cfbc9f3f
Author: Joe Finney
microbit: Disabled default instantiation of DFUService.

micro:bit operates its own custom service for this purpose.

Changed in this revision

source/BLE.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/source/BLE.cpp	Wed Apr 06 18:40:30 2016 +0100
+++ b/source/BLE.cpp	Wed Apr 06 18:40:31 2016 +0100
@@ -32,7 +32,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;