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:
vcoubard
Date:
Mon Jan 11 08:51:58 2016 +0000
Parent:
1108:ce7f6dbab398
Child:
1110:0a797e141266
Commit message:
Synchronized with git rev b2dd219f
Author: Liyou Zhou
Fix issues

Changed in this revision

ble/Gap.h Show annotated file Show diff for this revision Revisions of this file
ble/deprecate.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/Gap.h	Mon Jan 11 08:51:57 2016 +0000
+++ b/ble/Gap.h	Mon Jan 11 08:51:58 2016 +0000
@@ -279,10 +279,10 @@
     /**
      * Create a connection (GAP Link Establishment).
      *
-     * @note: deprecated. This funtion overloads Gap::connect(const BLEProtocol::Address_t  peerAddr,
-                                                              BLEProtocol::AddressType_t    peerAddrType,
-                                                              const ConnectionParams_t     *connectionParams,
-                                                              const GapScanningParams      *scanParams)
+     * \deprecated: This funtion overloads Gap::connect(const BLEProtocol::Address_t  peerAddr,
+                                                        BLEProtocol::AddressType_t    peerAddrType,
+                                                        const ConnectionParams_t     *connectionParams,
+                                                        const GapScanningParams      *scanParams)
      *      to maintain backward compatibility for change from Gap::AddressType_t to BLEProtocol::AddressType_t
      */
     ble_error_t connect(const BLEProtocol::Address_t  peerAddr,
--- a/ble/deprecate.h	Mon Jan 11 08:51:57 2016 +0000
+++ b/ble/deprecate.h	Mon Jan 11 08:51:58 2016 +0000
@@ -20,7 +20,7 @@
 #ifdef YOTTA_CFG_MBED_OS
 	#include "compiler-polyfill/attributes.h"
 #else
-	#define __deprecated_message
+	#define __deprecated_message(msg)
 #endif
 
 #endif
\ No newline at end of file
--- a/module.json	Mon Jan 11 08:51:57 2016 +0000
+++ b/module.json	Mon Jan 11 08:51:58 2016 +0000
@@ -36,7 +36,7 @@
     },
     "mbed-os": {
       "mbed-drivers": "*",
-      "compilerpolyfill": "^1.2.1"
+      "compiler-polyfill": "^1.2.1"
     }
   }
 }
\ No newline at end of file