Lightly modified version of the BLE stack, that doesn't bring up a DFUService by default... as we have our own.

Fork of BLE_API by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

Comitter:
rgrover1
Date:
Wed May 13 08:51:08 2015 +0100
Parent:
387:7faa54079669
Child:
389:3487fcdd314e
Commit message:
Synchronized with git rev a655f860
Author: Rohit Grover
add AdvertisementType_t

Changed in this revision

public/Gap.h Show annotated file Show diff for this revision Revisions of this file
--- 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