mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-29 18:27:20 +02:00
Merge branch 'bugfix/IDFGH_9535_v5.0' into 'release/v5.0'
wifi_prov_mgr : Fixed return value of characteristic read operation in nimble (v5.0) See merge request espressif/esp-idf!22672
This commit is contained in:
@ -316,8 +316,8 @@ gatt_svr_chr_access(uint16_t conn_handle, uint16_t attr_handle,
|
||||
rc = simple_ble_gatts_get_attr_value(attr_handle, &temp_outlen,
|
||||
&temp_outbuf);
|
||||
if (rc != 0) {
|
||||
ESP_LOGE(TAG, "Failed to read characteristic with attr_handle = %d", attr_handle);
|
||||
return rc;
|
||||
ESP_LOGE(TAG, "Characteristic with attr_handle = %d is not added to the list", attr_handle);
|
||||
return 0;
|
||||
}
|
||||
|
||||
rc = os_mbuf_append(ctxt->om, temp_outbuf, temp_outlen);
|
||||
|
Reference in New Issue
Block a user