Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BLE_API by
Revision 388:3fa9ce3b1b7a, committed 2015-05-13
- 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
