Skip to content

Commit 3b54c90

Browse files
committed
Merge branch 'bugfix/IDFGH_9535_v4.4' into 'release/v4.4'
wifi_prov_mgr : Fixed return value of characteristic read operation in nimble (v4.4) See merge request espressif/esp-idf!22673
2 parents 4fb8c6f + c134171 commit 3b54c90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/protocomm/src/transports/protocomm_nimble.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,8 @@ gatt_svr_chr_access(uint16_t conn_handle, uint16_t attr_handle,
315315
rc = simple_ble_gatts_get_attr_value(attr_handle, &temp_outlen,
316316
&temp_outbuf);
317317
if (rc != 0) {
318-
ESP_LOGE(TAG, "Failed to read characteristic with attr_handle = %d", attr_handle);
319-
return rc;
318+
ESP_LOGE(TAG, "Characteristic with attr_handle = %d is not added to the list", attr_handle);
319+
return 0;
320320
}
321321

322322
rc = os_mbuf_append(ctxt->om, temp_outbuf, temp_outlen);

0 commit comments

Comments
 (0)