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.

Revision:
330:2a3f554ee9fd
Parent:
260:ea7f9f14cc15
--- a/public/GattService.h	Wed Apr 15 09:05:10 2015 +0100
+++ b/public/GattService.h	Wed Apr 15 09:05:10 2015 +0100
@@ -57,7 +57,10 @@
      *  @param[in]  numCharacteristics
      *              The number of characteristics
      */
-    GattService(const UUID &uuid, GattCharacteristic *characteristics[], unsigned numCharacteristics);
+    GattService(const UUID &uuid, GattCharacteristic *characteristics[], unsigned numCharacteristics) :
+        _primaryServiceID(uuid), _characteristicCount(numCharacteristics), _characteristics(characteristics), _handle(0) {
+        /* empty */
+    }
 
     const UUID &getUUID(void)                const {return _primaryServiceID;   }
     uint16_t    getHandle(void)              const {return _handle;             }