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:
1183:1589830dbdb7
Parent:
1179:4ab722f8dca0
--- a/ble/BLEProtocol.h	Wed Apr 06 19:15:34 2016 +0100
+++ b/ble/BLEProtocol.h	Wed Apr 06 19:15:36 2016 +0100
@@ -51,16 +51,27 @@
     typedef uint8_t AddressBytes_t[ADDR_LEN]; /**< 48-bit address, in LSB format. */
 
     /**
-     * BLE address. It contains an address-type (@ref AddressType_t) and bytes (@ref AddressBytes_t).
+     * BLE address. It contains an address-type (AddressType_t) and bytes (AddressBytes_t).
      */
     struct Address_t {
-        AddressType_t  type;    /**< @ref AddressType_t */
-        AddressBytes_t address; /**< @ref AddressBytes_t */
+        AddressType_t  type;    /**< The type of the BLE address. */
+        AddressBytes_t address; /**< The BLE address. */
 
+        /**
+         * Construct an Address_t object with the supplied type and address.
+         *
+         * @param[in] typeIn
+         *              The BLE address type.
+         * @param[in] addressIn
+         *              The BLE address.
+         */
         Address_t(AddressType_t typeIn, const AddressBytes_t& addressIn) : type(typeIn) {
             std::copy(addressIn, addressIn + ADDR_LEN, address);
         }
 
+        /**
+         * Empty constructor.
+         */
         Address_t() : type(), address() {
         }
     };