mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/unified_prov_bluedroid_v4.1' into 'release/v4.1'
Unified Provisioning - BLE: Fix characteristics read response issue (backport v4.1) See merge request espressif/esp-idf!7652
This commit is contained in:
commit
8609b3730d
@ -112,7 +112,7 @@ static void transport_simple_ble_read(esp_gatts_cb_event_t event, esp_gatt_if_t
|
|||||||
|
|
||||||
ESP_LOGD(TAG, "Inside read w/ session - %d on param %d %d",
|
ESP_LOGD(TAG, "Inside read w/ session - %d on param %d %d",
|
||||||
param->read.conn_id, param->read.handle, read_len);
|
param->read.conn_id, param->read.handle, read_len);
|
||||||
if (!read_len) {
|
if (!read_len && !param->read.offset) {
|
||||||
ESP_LOGD(TAG, "Reading attr value first time");
|
ESP_LOGD(TAG, "Reading attr value first time");
|
||||||
status = esp_ble_gatts_get_attr_value(param->read.handle, &read_len, &read_buf);
|
status = esp_ble_gatts_get_attr_value(param->read.handle, &read_len, &read_buf);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user