]> granicus.if.org Git - esp-idf/commitdiff
component/bt: Added the unhandle log to the btc dm case.
authorYulong <huangyulong@espressif.com>
Wed, 14 Jun 2017 02:37:44 +0000 (22:37 -0400)
committerYulong <huangyulong@espressif.com>
Wed, 14 Jun 2017 02:37:44 +0000 (22:37 -0400)
components/bt/bluedroid/btc/core/btc_dm.c

index e7c8f9f765d74fae698cb75fa5e98b22f1c3fdc4..76e56e9bb7ba9b09d406eed6ee71b1f364e466db 100644 (file)
@@ -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 );