mirror of https://github.com/ARMmbed/mbed-os.git
default state for legeacy pairing alllowed, removed obsolete code
parent
9c6f57a733
commit
d6a3347443
features/FEATURE_BLE/source/generic
|
@ -187,6 +187,7 @@ public:
|
|||
mitm = initMITM;
|
||||
iocaps = initIocaps;
|
||||
passkey = PasskeyAsci(initPasskey);
|
||||
legacyPairingAllowed = true;
|
||||
|
||||
return BLE_ERROR_NONE;
|
||||
}
|
||||
|
@ -199,12 +200,6 @@ public:
|
|||
return BLE_ERROR_NONE;
|
||||
}
|
||||
|
||||
void saveState() {
|
||||
}
|
||||
|
||||
void loadState() {
|
||||
}
|
||||
|
||||
ble_error_t preserveBondingStateOnReset(bool enabled) {
|
||||
db.setRestore(enabled);
|
||||
return BLE_ERROR_NONE;
|
||||
|
@ -228,8 +223,8 @@ public:
|
|||
return BLE_ERROR_NONE;
|
||||
}
|
||||
|
||||
ble_error_t getSecureConnectionsSupport(bool *enabled, bool *secure_connections_only) {
|
||||
return pal.get_secure_connections_support(*enabled, *secure_connections_only);
|
||||
ble_error_t getSecureConnectionsSupport(bool *enabled) {
|
||||
return pal.get_secure_connections_support(*enabled);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in New Issue