Skip to content

Commit 1fd953e

Browse files
committed
BLE: Use shared type ble_attribute_handle_t in GattAttribute.
1 parent 4416ef6 commit 1fd953e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

features/FEATURE_BLE/ble/GattAttribute.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#define __GATT_ATTRIBUTE_H__
1919

2020
#include "UUID.h"
21+
#include "BLETypes.h"
2122

2223
/**
2324
* Instances of this class encapsulate the data that belongs to a Bluetooth Low
@@ -29,7 +30,7 @@ class GattAttribute {
2930
* Type for the handle or ID of the attribute in the ATT table. These are
3031
* unique and are usually generated by the underlying BLE stack.
3132
*/
32-
typedef uint16_t Handle_t;
33+
typedef ble::attribute_handle_t Handle_t;
3334
/**
3435
* Define the value of an invalid attribute handle.
3536
*/

0 commit comments

Comments
 (0)