Merge pull request #14605 from paul-szczepanek-arm/tracix

BLE: Fix traces
pull/14651/head
Martin Kojtal 2021-05-07 11:44:25 +02:00 committed by GitHub
commit b7b4ca72cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -242,7 +242,7 @@ ble_error_t PrivateAddressController::add_device_to_resolving_list(
peer_irk
);
} else {
tr_error("Host based private address resolution enabled but not supported by the controller");
tr_error("Privacy used but not supported on the controller nor the host");
return BLE_ERROR_NOT_IMPLEMENTED;
}
#endif // BLE_GAP_HOST_BASED_PRIVATE_ADDRESS_RESOLUTION
@ -276,7 +276,7 @@ ble_error_t PrivateAddressController::remove_device_from_resolving_list(
if (is_controller_privacy_supported()) {
return queue_remove_device_from_resolving_list(peer_address_type, peer_identity_address);
} else {
tr_error("Host based private address resolution enabled but not supported by the controller");
tr_error("Privacy used but not supported on the controller nor the host");
return BLE_ERROR_NOT_IMPLEMENTED;
}
#endif // BLE_GAP_HOST_BASED_PRIVATE_ADDRESS_RESOLUTION
@ -303,7 +303,7 @@ ble_error_t PrivateAddressController::clear_resolving_list()
if (is_controller_privacy_supported()) {
return queue_clear_resolving_list();
} else {
tr_error("Host based private address resolution enabled but not supported by the controller");
tr_error("Privacy used but not supported on the controller nor the host");
return BLE_ERROR_NOT_IMPLEMENTED;
}
#endif // BLE_GAP_HOST_BASED_PRIVATE_ADDRESS_RESOLUTION

View File

@ -83,7 +83,7 @@ ble_error_t SecurityManager::init(
const char* db_path
)
{
tr_info("SM init: bondable=%s, mitm=%s, iocaps=%s, passkey=%p, signing=%s, db_path=%p",
tr_info("SM init: bondable=%s, mitm=%s, iocaps=%s, passkey=%s, signing=%s, db_path=%p",
to_string(bondable),
to_string(mitm),
to_string(iocaps),