BLE: use common type ble::connection_handle_t as Handle_t.

pull/5060/head
Vincent Coubard 2017-09-08 10:38:30 +01:00
parent dd303b7a91
commit c022c4a8f0
1 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@
#ifndef __GAP_H__
#define __GAP_H__
#include "BLETypes.h"
#include "ble/BLEProtocol.h"
#include "GapAdvertisingData.h"
#include "GapAdvertisingParams.h"
@ -171,7 +172,7 @@ public:
/**
* Type for connection handle.
*/
typedef uint16_t Handle_t;
typedef ble::connection_handle_t Handle_t;
/**
* Structure containing GAP connection parameters. When in peripheral role