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
Diff: public/Gap.h
- Revision:
- 375:9cb0b006227e
- Parent:
- 372:0db007a23f71
- Child:
- 378:a8b035d877a8
--- a/public/Gap.h Mon May 11 07:59:00 2015 +0100
+++ b/public/Gap.h Wed May 13 08:51:06 2015 +0100
@@ -26,15 +26,17 @@
class Gap {
public:
- typedef enum addr_type_e {
+ enum AddressType_t {
ADDR_TYPE_PUBLIC = 0,
ADDR_TYPE_RANDOM_STATIC,
ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE,
ADDR_TYPE_RANDOM_PRIVATE_NON_RESOLVABLE
- } addr_type_t;
+ };
+ typedef enum AddressType_t addr_type_t; /* @Note: decprecated. */
static const unsigned ADDR_LEN = 6;
- typedef uint8_t address_t[ADDR_LEN]; /* 48-bit address, LSB format. */
+ typedef uint8_t Address_t[ADDR_LEN]; /* 48-bit address, LSB format. */
+ typedef Address_t address_t; /* @Note: deprecated. */
/**
* Enumeration for disconnection reasons. The values for these reasons are
