From 09a3e4fd587ae314ec8ed4eaa6fb7baba983b0c8 Mon Sep 17 00:00:00 2001 From: yulong Date: Wed, 13 Sep 2017 20:23:44 +0800 Subject: [PATCH] squesh the commit. component/bt: Change the idf test KnownIssues file. component/bt: Fixed the bug of gattc mutilple read. --- components/bt/bluedroid/api/esp_gattc_api.c | 3 +++ components/idf_test/integration_test/KnownIssues | 15 +++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/components/bt/bluedroid/api/esp_gattc_api.c b/components/bt/bluedroid/api/esp_gattc_api.c index d486c14c6a..c79ecec5ee 100644 --- a/components/bt/bluedroid/api/esp_gattc_api.c +++ b/components/bt/bluedroid/api/esp_gattc_api.c @@ -348,6 +348,9 @@ esp_err_t esp_ble_gattc_read_multiple(esp_gatt_if_t gattc_if, msg.pid = BTC_PID_GATTC; msg.act = BTC_GATTC_ACT_READ_MULTIPLE_CHAR; arg.read_multiple.conn_id = BTC_GATT_CREATE_CONN_ID(gattc_if, conn_id); + arg.read_multiple.num_attr = read_multi->num_attr; + arg.read_multiple.auth_req = auth_req; + if (read_multi->num_attr > 0) { memcpy(arg.read_multiple.handles, read_multi->handles, sizeof(uint16_t)*read_multi->num_attr); } else { diff --git a/components/idf_test/integration_test/KnownIssues b/components/idf_test/integration_test/KnownIssues index 4594e2978d..8e7f77040b 100644 --- a/components/idf_test/integration_test/KnownIssues +++ b/components/idf_test/integration_test/KnownIssues @@ -220,6 +220,21 @@ BTSTK_GAP_06003 # GATT BTSTK_GATT_21005 BTSTK_GATT_25013 +BTSTK_GATT_25001 +BTSTK_GATT_25002 +BTSTK_GATT_25003 +BTSTK_GATT_25004 +BTSTK_GATT_25005 +BTSTK_GATT_25006 +BTSTK_GATT_25007 +BTSTK_GATT_25008 +BTSTK_GATT_25009 +BTSTK_GATT_25010 +BTSTK_GATT_25011 +BTSTK_GATT_25012 +BTSTK_GATT_25013 +BTSTK_GATT_25014 +BTSTK_GATT_20002 # BT cases that might fail BTSTK_GAP_01003