just a fork
Fork of BLE_API by
Diff: ble/Gap.h
- Revision:
- 1201:6dd8b141406e
- Parent:
- 1193:c8bbf3a6712d
--- a/ble/Gap.h Wed Apr 06 19:16:08 2016 +0100 +++ b/ble/Gap.h Fri Jul 08 23:39:31 2016 +0000 @@ -198,6 +198,7 @@ */ struct AdvertisementCallbackParams_t { BLEProtocol::AddressBytes_t peerAddr; /**< The peer's BLE address. */ +// BLEProtocol::AddressType_t peerAddrType; /**< The peer's BLE address type. */ int8_t rssi; /**< The advertisement packet RSSI value. */ bool isScanResponse; /**< Whether this packet is the response to a scan request. */ GapAdvertisingParams::AdvertisingType_t type; /**< The type of advertisement. */ @@ -1812,6 +1813,7 @@ * Pointer to the advertisement packet's data. */ void processAdvertisementReport(const BLEProtocol::AddressBytes_t peerAddr, +// BLEProtocol::AddressType_t peerAddrType, int8_t rssi, bool isScanResponse, GapAdvertisingParams::AdvertisingType_t type, @@ -1819,6 +1821,7 @@ const uint8_t *advertisingData) { AdvertisementCallbackParams_t params; memcpy(params.peerAddr, peerAddr, ADDR_LEN); +// params.peerAddrType = peerAddrType; params.rssi = rssi; params.isScanResponse = isScanResponse; params.type = type;