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 187ed98 commit 63887d1Copy full SHA for 63887d1
connectivity/FEATURE_BLE/source/generic/SecurityDb.h
@@ -190,6 +190,11 @@ class SecurityDb {
190
SecurityDistributionFlags_t* flags = get_distribution_flags(correct_handle);
191
flags->connected = true;
192
193
+ /* update peer address */
194
+ SecurityDistributionFlags_t* old_flags = get_distribution_flags(*db_handle);
195
+ flags->peer_address = old_flags->peer_address;
196
+ flags->peer_address_is_public = old_flags->peer_address_is_public;
197
+
198
close_entry(*db_handle, false);
199
*db_handle = correct_handle;
200
cb(*db_handle, keys);
0 commit comments