diff --git a/connectivity/FEATURE_BLE/source/generic/PrivateAddressController.cpp b/connectivity/FEATURE_BLE/source/generic/PrivateAddressController.cpp index 6ddafa105c..1478bc8801 100644 --- a/connectivity/FEATURE_BLE/source/generic/PrivateAddressController.cpp +++ b/connectivity/FEATURE_BLE/source/generic/PrivateAddressController.cpp @@ -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 diff --git a/connectivity/FEATURE_BLE/source/generic/SecurityManagerImpl.cpp b/connectivity/FEATURE_BLE/source/generic/SecurityManagerImpl.cpp index cfde14d0fa..584dd9212f 100644 --- a/connectivity/FEATURE_BLE/source/generic/SecurityManagerImpl.cpp +++ b/connectivity/FEATURE_BLE/source/generic/SecurityManagerImpl.cpp @@ -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),