We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef20891 commit db4d14cCopy full SHA for db4d14c
features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NRF52/source/nRF5xGap.cpp
@@ -1432,7 +1432,9 @@ void nRF5xGap::on_advertising_packet(const ble_gap_evt_adv_report_t &evt) {
1432
bool peer_address_resolved = evt.peer_addr.addr_id_peer;
1433
1434
if (_privacy_enabled &&
1435
- peer_address_resolved == false &&
+ evt.peer_addr.addr_type == BLE_GAP_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE &&
1436
+ peer_address_resolved == false &&
1437
+ get_sm().get_resolving_list().size() > 0 &&
1438
_central_privacy_configuration.resolution_strategy == CentralPrivacyConfiguration_t::RESOLVE_AND_FILTER
1439
) {
1440
return;
0 commit comments