OSDN Git Service

Get rid of meaningles GATT client error log
authorJakub Pawlowski <jpawlowski@google.com>
Thu, 9 Aug 2018 07:24:41 +0000 (09:24 +0200)
committerJakub Pawlowski <jpawlowski@google.com>
Thu, 9 Aug 2018 07:35:08 +0000 (09:35 +0200)
Right now we often get this error in logs:

E bt_btif_gattc: btif_gattc_upstreams_evt: Unhandled event (7)!

This is often misinterpreted during log analysis as error, where this
really means just uninteresting event we don't want to handle.

Change-Id: Ia7804b2e1802a117198a31e025d05a80f973e896

btif/src/btif_gatt_client.cc

index f05e7a0..7e2d88b 100644 (file)
@@ -163,6 +163,9 @@ void btif_gattc_upstreams_evt(uint16_t event, char* p_param) {
       /* Ignore for now */
       break;
 
+    case BTA_GATTC_SEARCH_RES_EVT:
+      break;
+
     case BTA_GATTC_CANCEL_OPEN_EVT:
       break;