mirror of https://github.com/ARMmbed/mbed-os.git
BLE: use common type ble::connection_handle_t as Handle_t.
parent
dd303b7a91
commit
c022c4a8f0
|
|
@ -17,6 +17,7 @@
|
||||||
#ifndef __GAP_H__
|
#ifndef __GAP_H__
|
||||||
#define __GAP_H__
|
#define __GAP_H__
|
||||||
|
|
||||||
|
#include "BLETypes.h"
|
||||||
#include "ble/BLEProtocol.h"
|
#include "ble/BLEProtocol.h"
|
||||||
#include "GapAdvertisingData.h"
|
#include "GapAdvertisingData.h"
|
||||||
#include "GapAdvertisingParams.h"
|
#include "GapAdvertisingParams.h"
|
||||||
|
|
@ -171,7 +172,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* Type for connection handle.
|
* 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
|
* Structure containing GAP connection parameters. When in peripheral role
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue