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 a0b3955 commit 6e94bc5Copy full SHA for 6e94bc5
BLE_SM/source/main.cpp
@@ -183,6 +183,12 @@ class SMDevice : private mbed::NonCopyable<SMDevice>,
183
return;
184
}
185
186
+ error = _ble.securityManager().preserveBondingStateOnReset(true);
187
+
188
+ if (error) {
189
+ printf("Error during preserveBondingStateOnReset %d\r\n", error);
190
+ }
191
192
/* Tell the security manager to use methods in this class to inform us
193
* of any events. Class needs to implement SecurityManagerEventHandler. */
194
_ble.securityManager().setSecurityManagerEventHandler(this);
0 commit comments