mirror of https://github.com/ARMmbed/mbed-os.git
BLE: Add default addressType to processAdvertisementReport
This patch should be reverted once the ST shield library and mbed-os-cliapp have been updated to support this change in the porting API.pull/6152/head
parent
1f4e2b1820
commit
3554a63dc8
|
@ -2356,8 +2356,12 @@ public:
|
|||
GapAdvertisingParams::AdvertisingType_t type,
|
||||
uint8_t advertisingDataLen,
|
||||
const uint8_t *advertisingData,
|
||||
BLEProtocol::AddressType_t addressType
|
||||
BLEProtocol::AddressType_t addressType = BLEProtocol::RANDOM_STATIC
|
||||
) {
|
||||
// FIXME: remove default parameter for addressType when ST shield is merged;
|
||||
// this has been added to mitigate the lack of dependency management in
|
||||
// testing jobs ....
|
||||
|
||||
AdvertisementCallbackParams_t params;
|
||||
memcpy(params.peerAddr, peerAddr, ADDR_LEN);
|
||||
params.rssi = rssi;
|
||||
|
|
Loading…
Reference in New Issue