Skip to content

Commit c022c4a

Browse files
committed
BLE: use common type ble::connection_handle_t as Handle_t.
1 parent dd303b7 commit c022c4a

File tree

1 file changed

+2
-1
lines changed
  • features/FEATURE_BLE/ble

1 file changed

+2
-1
lines changed

features/FEATURE_BLE/ble/Gap.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#ifndef __GAP_H__
1818
#define __GAP_H__
1919

20+
#include "BLETypes.h"
2021
#include "ble/BLEProtocol.h"
2122
#include "GapAdvertisingData.h"
2223
#include "GapAdvertisingParams.h"
@@ -171,7 +172,7 @@ class Gap {
171172
/**
172173
* Type for connection handle.
173174
*/
174-
typedef uint16_t Handle_t;
175+
typedef ble::connection_handle_t Handle_t;
175176

176177
/**
177178
* Structure containing GAP connection parameters. When in peripheral role

0 commit comments

Comments
 (0)