From d9d230549a3778668cfadaaad2aa1afc2922338b Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Thu, 2 Mar 2017 16:48:13 +0100 Subject: [PATCH] use log_debug for 'can send now' events --- src/ble/att_server.c | 2 +- src/classic/rfcomm.c | 2 +- src/l2cap.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ble/att_server.c b/src/ble/att_server.c index f2943becc..a81f649fc 100644 --- a/src/ble/att_server.c +++ b/src/ble/att_server.c @@ -481,7 +481,7 @@ int att_server_can_send_packet_now(hci_con_handle_t con_handle){ } void att_server_request_can_send_now_event(hci_con_handle_t con_handle){ - log_info("att_server_request_can_send_now_event 0x%04x", con_handle); + log_debug("att_server_request_can_send_now_event 0x%04x", con_handle); att_client_waiting_for_can_send = 1; att_dispatch_server_request_can_send_now_event(con_handle); } diff --git a/src/classic/rfcomm.c b/src/classic/rfcomm.c index 196dcb0b0..85634f963 100644 --- a/src/classic/rfcomm.c +++ b/src/classic/rfcomm.c @@ -218,7 +218,7 @@ static void rfcomm_emit_port_configuration(rfcomm_channel_t *channel){ } static void rfcomm_emit_can_send_now(rfcomm_channel_t *channel) { - log_info("RFCOMM_EVENT_CHANNEL_CAN_SEND_NOW local_cid 0x%x", channel->rfcomm_cid); + log_debug("RFCOMM_EVENT_CHANNEL_CAN_SEND_NOW local_cid 0x%x", channel->rfcomm_cid); uint8_t event[4]; event[0] = RFCOMM_EVENT_CAN_SEND_NOW; event[1] = sizeof(event) - 2; diff --git a/src/l2cap.c b/src/l2cap.c index 59753b652..d85613d31 100644 --- a/src/l2cap.c +++ b/src/l2cap.c @@ -272,7 +272,7 @@ int l2cap_send_connectionless(hci_con_handle_t con_handle, uint16_t cid, uint8_t } static void l2cap_emit_can_send_now(btstack_packet_handler_t packet_handler, uint16_t channel) { - log_info("L2CAP_EVENT_CHANNEL_CAN_SEND_NOW local_cid 0x%x", channel); + log_debug("L2CAP_EVENT_CHANNEL_CAN_SEND_NOW local_cid 0x%x", channel); uint8_t event[4]; event[0] = L2CAP_EVENT_CAN_SEND_NOW; event[1] = sizeof(event) - 2;