add AdvertisementType_t

This commit is contained in:
Rohit Grover 2015-04-24 14:54:57 +01:00
parent c7717aa41d
commit a655f86025

View file

@ -46,6 +46,13 @@ public:
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