BLE: Use shared type ble_attribute_handle_t in GattAttribute.

pull/5060/head
Vincent Coubard 2017-09-08 10:41:35 +01:00
parent 4416ef6233
commit 1fd953e33c
1 changed files with 2 additions and 1 deletions

View File

@ -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.
*/