BLE: Typedef ble::advertising_event_t into Gap::AdvertisingEventType_t

pull/8738/head
Vincent Coubard 2018-11-08 13:30:19 +00:00
parent f930905947
commit dee48e71e3
1 changed files with 2 additions and 1 deletions

View File

@ -1009,6 +1009,7 @@ public:
GapShutdownCallbackChain_t;
typedef ble::advertising_handle_t AdvHandle_t;
typedef ble::advertising_event_t AdvertisingEventType_t;
static const AdvHandle_t LEGACY_ADVERTISING_HANDLE = 0x00;
static const AdvHandle_t INVALID_ADVERTISING_HANDLE = 0xFF;
@ -1052,7 +1053,7 @@ public:
}
void onAdvertisingReport(
ble::advertising_event_t type,
AdvertisingEventType_t type,
PeerAddressType_t peerAddressType,
BLEProtocol::AddressBytes_t peerAddress,
uint8_t advertisingDataLen,