mirror of https://github.com/ARMmbed/mbed-os.git
Merge branch 'master' of https://github.com/paul-szczepanek-arm/mbed-os
commit
179ad1626f
|
|
@ -865,6 +865,8 @@ void GenericSecurityManager::on_pairing_request(
|
|||
|
||||
if (_pairing_authorisation_required) {
|
||||
eventHandler->pairingRequest(connection);
|
||||
} else {
|
||||
acceptPairingRequest(connection);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -99,7 +99,9 @@ ble_error_t CordioSecurityManager::set_secure_connections_support(
|
|||
ble_error_t CordioSecurityManager::get_secure_connections_support(
|
||||
bool &enabled
|
||||
) {
|
||||
return BLE_ERROR_NOT_IMPLEMENTED;
|
||||
// FIXME: should depend of the controller
|
||||
enabled = false;
|
||||
return BLE_ERROR_NONE;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
|
|
@ -271,8 +273,7 @@ ble_error_t CordioSecurityManager::set_display_passkey(passkey_num_t passkey)
|
|||
|
||||
ble_error_t CordioSecurityManager::set_io_capability(io_capability_t io_capability)
|
||||
{
|
||||
pSmpCfg->auth = io_capability.value();
|
||||
|
||||
pSmpCfg->ioCap = io_capability.value();
|
||||
return BLE_ERROR_NONE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue