abc

Fork of BLE_API by Bluetooth Low Energy

Revision:
388:3fa9ce3b1b7a
Parent:
387:7faa54079669
Child:
392:3201f029c2eb
--- a/public/Gap.h	Wed May 13 08:51:08 2015 +0100
+++ b/public/Gap.h	Wed May 13 08:51:08 2015 +0100
@@ -46,6 +46,13 @@
         ADV_NONCONN_IND   = 0x03,   /**< Non connectable undirected. */
     };
 
+    enum AdvertisementType_t {
+        ADV_IND           = 0x00,   /**< Connectable undirected. */
+        ADV_DIRECT_IND    = 0x01,   /**< Connectable directed. */
+        ADV_SCAN_IND      = 0x02,   /**< Scannable undirected. */
+        ADV_NONCONN_IND   = 0x03,   /**< Non connectable undirected. */
+    };
+
     /**
      * Enumeration for disconnection reasons. The values for these reasons are
      * derived from Nordic's implementation; but the reasons are meant to be