From: Yulong Date: Wed, 14 Jun 2017 02:37:44 +0000 (-0400) Subject: component/bt: Added the unhandle log to the btc dm case. X-Git-Tag: v2.1-rc1~38^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3f997d3e8c830e523430546073395bc231d4a280;p=esp-idf component/bt: Added the unhandle log to the btc dm case. --- diff --git a/components/bt/bluedroid/btc/core/btc_dm.c b/components/bt/bluedroid/btc/core/btc_dm.c index e7c8f9f765..76e56e9bb7 100644 --- a/components/bt/bluedroid/btc/core/btc_dm.c +++ b/components/bt/bluedroid/btc/core/btc_dm.c @@ -341,6 +341,7 @@ void btc_dm_sec_cb_handler(btc_msg_t *msg) case BTA_DM_LINK_UP_EVT: case BTA_DM_LINK_DOWN_EVT: case BTA_DM_HW_ERROR_EVT: + LOG_WARN( "btc_dm_sec_cback : unhandled event (%d)\n", msg->act ); break; #if (defined(BLE_INCLUDED) && (BLE_INCLUDED == TRUE) && (SMP_INCLUDED == TRUE)) case BTA_DM_BLE_AUTH_CMPL_EVT: { @@ -494,6 +495,7 @@ void btc_dm_sec_cb_handler(btc_msg_t *msg) case BTA_DM_SP_RMT_OOB_EVT: case BTA_DM_SP_KEYPRESS_EVT: case BTA_DM_ROLE_CHG_EVT: + LOG_WARN( "btc_dm_sec_cback : unhandled event (%d)\n", msg->act ); break; default: LOG_WARN( "btc_dm_sec_cback : unhandled event (%d)\n", msg->act );