just a fork

Fork of BLE_API by Bluetooth Low Energy

Revision:
1085:ab823cb9783f
Parent:
1084:40c1e518d6de
Child:
1086:75d4e8ce277d
--- a/ble/Gap.h	Mon Jan 11 08:51:47 2016 +0000
+++ b/ble/Gap.h	Mon Jan 11 08:51:47 2016 +0000
@@ -38,9 +38,17 @@
 public:
     /**
      * Address-type for BLEProtocol addresses.
-     * @note: deprecated. Use BLEProtocol::AddressType_t instead.
+     *
+     * @note: deprecated. Use BLEProtocol::AddressType_t instead. This declaration will soon be changed to:
+     *     typedef BLEProtocol::AddressType_t AddressType_t;
+     * It has been left in this current state to transparenly support existing applications which may have used Gap::ADDR_TYPE_*.
      */
-    typedef BLEProtocol::AddressType_t AddressType_t;
+    enum AddressType_t {
+        ADDR_TYPE_PUBLIC = BLEProtocol::AddressType::PUBLIC,
+        ADDR_TYPE_RANDOM_STATIC,
+        ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE,
+        ADDR_TYPE_RANDOM_PRIVATE_NON_RESOLVABLE
+    };
 
     /**
      * Address-type for BLEProtocol addresses.