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:
rgrover1
Date:
Thu Nov 26 12:51:59 2015 +0000
Parent:
886:0a45c67b2301
Child:
888:e43584ccdf03
Commit message:
Synchronized with git rev 6ce2094e
Author: Rohit Grover
Merge branch 'develop'

Changed in this revision

ble/BLE.h Show annotated file Show diff for this revision Revisions of this file
module.json Show annotated file Show diff for this revision Revisions of this file
--- a/ble/BLE.h	Thu Nov 26 12:51:59 2015 +0000
+++ b/ble/BLE.h	Thu Nov 26 12:51:59 2015 +0000
@@ -104,7 +104,7 @@
      */
     ble_error_t init(InitializationCompleteCallback_t initCompleteCallback = NULL) {
         FunctionPointerWithContext<InitializationCompleteCallbackContext *> callback(initCompleteCallback);
-        initImplementation(callback);
+        return initImplementation(callback);
     }
 
     /**
@@ -114,7 +114,7 @@
     template<typename T>
     ble_error_t init(T *object, void (T::*initCompleteCallback)(InitializationCompleteCallbackContext *context)) {
         FunctionPointerWithContext<InitializationCompleteCallbackContext *> callback(object, initCompleteCallback);
-        initImplementation(callback);
+        return initImplementation(callback);
     }
 
     /**
--- a/module.json	Thu Nov 26 12:51:59 2015 +0000
+++ b/module.json	Thu Nov 26 12:51:59 2015 +0000
@@ -1,6 +1,6 @@
 {
   "name": "ble",
-  "version": "2.0.2",
+  "version": "2.0.3",
   "description": "The BLE module offers a high level abstraction for using Bluetooth Low Energy on multiple platforms.",
   "keywords": [
     "Bluetooth",