Fixes to BLE_API for mbedOS Alpha1 release. Mostly relating to doxygen fixes.

Fork of BLE_API by Bluetooth Low Energy

Revision:
130:e6726fd8fc08
Parent:
127:4e106f4a80b7
Child:
131:cb0cf2e6775f
--- a/public/Gap.h	Fri Nov 21 09:23:22 2014 +0000
+++ b/public/Gap.h	Fri Nov 21 09:23:22 2014 +0000
@@ -41,6 +41,7 @@
     } addr_type_t;
 
     static const unsigned ADDR_LEN = 6;
+    typedef uint8_t address_t[ADDR_LEN];
 
     /**
      * enumeration for disconnection reasons. The values for these reasons are
@@ -72,8 +73,8 @@
 
 public:
     /* These functions must be defined in the sub-class */
-    virtual ble_error_t setAddress(addr_type_t type,   const uint8_t address[ADDR_LEN]) = 0;
-    virtual ble_error_t getAddress(addr_type_t *typeP, uint8_t address[ADDR_LEN]) = 0;
+    virtual ble_error_t setAddress(addr_type_t type,   const address_t address) = 0;
+    virtual ble_error_t getAddress(addr_type_t *typeP, address_t address) = 0;
     virtual ble_error_t setAdvertisingData(const GapAdvertisingData &, const GapAdvertisingData &) = 0;
     virtual ble_error_t startAdvertising(const GapAdvertisingParams &) = 0;
     virtual ble_error_t stopAdvertising(void)                    = 0;