mirror of https://github.com/ARMmbed/mbed-os.git
BLE: Use shared type ble_attribute_handle_t in GattAttribute.
parent
4416ef6233
commit
1fd953e33c
|
@ -18,6 +18,7 @@
|
|||
#define __GATT_ATTRIBUTE_H__
|
||||
|
||||
#include "UUID.h"
|
||||
#include "BLETypes.h"
|
||||
|
||||
/**
|
||||
* Instances of this class encapsulate the data that belongs to a Bluetooth Low
|
||||
|
@ -29,7 +30,7 @@ public:
|
|||
* Type for the handle or ID of the attribute in the ATT table. These are
|
||||
* unique and are usually generated by the underlying BLE stack.
|
||||
*/
|
||||
typedef uint16_t Handle_t;
|
||||
typedef ble::attribute_handle_t Handle_t;
|
||||
/**
|
||||
* Define the value of an invalid attribute handle.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue