Skip to content

Commit 4744c87

Browse files
committed
Set privacy mode to device mode in LL.
Do not enable address resolution when a new entry is added.
1 parent bb35cba commit 4744c87

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

connectivity/FEATURE_BLE/source/cordio/source/PalPrivateAddressControllerImpl.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,14 @@ ble_error_t PalPrivateAddressController::add_device_to_resolving_list(
111111
peer_identity_address.data(),
112112
const_cast<uint8_t*>(peer_irk.data()),
113113
const_cast<uint8_t*>(local_irk.data()),
114-
true,
114+
false,
115115
0
116116
);
117+
DmPrivSetPrivacyMode(
118+
peer_address_type.value(),
119+
peer_identity_address.data(),
120+
DM_PRIV_MODE_DEVICE
121+
);
117122
return BLE_ERROR_NONE;
118123
}
119124

0 commit comments

Comments
 (0)