High level Bluetooth Low Energy API and radio abstraction layer

Dependents:   BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate BLE_ANCS_SDAPI_IRC ... more

Overview

The BLE_API is a high level abstraction for using Bluetooth Low Energy on multiple platforms. For details and examples using the BLE_API please see the BLE_API Summary Page. Or click on the API Documentation tab above.

Supported Services

Supported services can be found in the BLE_API/services folder.

Files at this revision

API Documentation at this revision

Comitter:
rgrover1
Date:
Mon Jul 06 10:10:35 2015 +0100
Parent:
731:401c2bc0c72f
Child:
733:718a3566b4ce
Commit message:
Synchronized with git rev 41b4e077
Author: Richard Osterloh
Refactor using new include paths

Changed in this revision

ble/BLE.h Show annotated file Show diff for this revision Revisions of this file
ble/GattServer.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
source/BLE.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/ble/BLE.h	Mon Jul 06 10:10:34 2015 +0100
+++ b/ble/BLE.h	Mon Jul 06 10:10:35 2015 +0100
@@ -916,7 +916,7 @@
      *
      * @note This API is a version of above with an additional connection handle
      *     parameter to allow fetches for connection-specific multivalued
-     *     attributes (such as the CCCDs).
+     *     attribtues (such as the CCCDs).
      *
      * @note: This API is now *deprecated* and will be dropped in the future.
      * You should use the parallel API from GattServer directly. A former call
@@ -960,7 +960,7 @@
     /**
      * Update the value of a characteristic on the local GattServer. A version
      * of the same as above with connection handle parameter to allow updates
-     * for connection-specific multivalued attributes (such as the CCCDs).
+     * for connection-specific multivalued attribtues (such as the CCCDs).
      *
      * @param[in] connectionHandle
      *              Connection Handle.
--- a/ble/GattServer.h	Mon Jul 06 10:10:34 2015 +0100
+++ b/ble/GattServer.h	Mon Jul 06 10:10:35 2015 +0100
@@ -94,7 +94,7 @@
      *
      * @note This API is a version of above with an additional connection handle
      *     parameter to allow fetches for connection-specific multivalued
-     *     attributes (such as the CCCDs).
+     *     attribtues (such as the CCCDs).
      */
     virtual ble_error_t read(Gap::Handle_t connectionHandle, GattAttribute::Handle_t attributeHandle, uint8_t *buffer, uint16_t *lengthP) {
         return BLE_ERROR_NOT_IMPLEMENTED; /* Requesting action from porter(s): override this API if this capability is supported. */
@@ -125,7 +125,7 @@
     /**
      * Update the value of a characteristic on the local GattServer. A version
      * of the same as above with connection handle parameter to allow updates
-     * for connection-specific multivalued attributes (such as the CCCDs).
+     * for connection-specific multivalued attribtues (such as the CCCDs).
      *
      * @param[in] connectionHandle
      *              Connection Handle.
--- a/module.json	Mon Jul 06 10:10:34 2015 +0100
+++ b/module.json	Mon Jul 06 10:10:35 2015 +0100
@@ -19,7 +19,7 @@
     }
   ],
   "dependencies": {
-    "mbed-classic":"~0.0.1"
+    "mbed": "^3.0.2"
   },
   "targetDependencies": {
     "nrf51822": {
--- a/source/BLE.cpp	Mon Jul 06 10:10:34 2015 +0100
+++ b/source/BLE.cpp	Mon Jul 06 10:10:35 2015 +0100
@@ -17,7 +17,7 @@
 #include "ble/BLE.h"
 
 #if defined(TARGET_OTA_ENABLED)
-#include "DFUService.h"
+#include "ble/services/DFUService.h"
 #endif
 
 ble_error_t