mirror of https://github.com/ARMmbed/mbed-os.git
BLE: Fix traces parameter warnings
parent
65c61a1ca9
commit
6adaefd9f3
|
@ -2986,7 +2986,7 @@ bool Gap::apply_peripheral_privacy_connection_policy(
|
|||
}
|
||||
tr_info("Connection %d: disconnecting - reason=%s",
|
||||
event.getConnectionHandle(),
|
||||
to_string(local_disconnection_reason_t::AUTHENTICATION_FAILURE));
|
||||
to_string(local_disconnection_reason_t{local_disconnection_reason_t::AUTHENTICATION_FAILURE}));
|
||||
_pal_gap.disconnect(
|
||||
connection_handle,
|
||||
local_disconnection_reason_t::AUTHENTICATION_FAILURE
|
||||
|
|
|
@ -2049,7 +2049,7 @@ void SecurityManager::on_passkey_display(
|
|||
if (eventHandler) {
|
||||
eventHandler->passkeyDisplay(connection, ascii_passkey.value());
|
||||
} else {
|
||||
tr_warning("Connection %d - No app handler to display pass key");
|
||||
tr_warning("Connection %d - No app handler to display pass key", connection);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -2061,7 +2061,7 @@ void SecurityManager::on_passkey_request(connection_handle_t connection)
|
|||
if (eventHandler) {
|
||||
eventHandler->passkeyRequest(connection);
|
||||
} else {
|
||||
tr_warning("Connection %d - No app handler to forward pass key request");
|
||||
tr_warning("Connection %d - No app handler to forward pass key request", connection);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue