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:
Thu Nov 26 14:51:21 2015 +0000
Parent:
986:5292837107a3
Child:
988:4eda0d49b333
Commit message:
Synchronized with git rev f2a0a2f0
Author: Liyou Zhou
Guard nordic specific implementation with #ifdef TARGET_NRF51822

Changed in this revision

ble/services/DFUService.h Show annotated file Show diff for this revision Revisions of this file
--- a/ble/services/DFUService.h	Thu Nov 26 14:51:21 2015 +0000
+++ b/ble/services/DFUService.h	Thu Nov 26 14:51:21 2015 +0000
@@ -14,11 +14,11 @@
  * limitations under the License.
  */
 
+#ifdef TARGET_NRF51822 /* DFU only supported on nrf51 platforms */
+
 #ifndef __BLE_DFU_SERVICE_H__
 #define __BLE_DFU_SERVICE_H__
 
-#ifdef TARGET_NRF51822 /* DFU only supported on nrf51 platforms */
-
 #include "ble/BLE.h"
 #include "ble/UUID.h"
 
@@ -142,5 +142,5 @@
     static ResetPrepare_t handoverCallback;  /**< application specific handover callback. */
 };
 
-#endif /* #ifdef TARGET_NRF51822 */
-#endif /* #ifndef __BLE_DFU_SERVICE_H__*/
\ No newline at end of file
+#endif /* #ifndef __BLE_DFU_SERVICE_H__*/
+#endif /* #ifdef TARGET_NRF51822 */
\ No newline at end of file