Page 1 of 1

Unable to use esp_ble_gatts_get_attr_value after BLE long write

Posted: Sat Aug 26, 2017 12:39 am
by mh-dev
Maybe I get some attention when I post this here.
Its more than 1.5 months ago since I reported this with the location where the problem is and nothing has happened to address this.

Issue link: https://github.com/espressif/esp-idf/issues/771
My client performs a long write. When I try to read the attribute value in 'ESP_GATTS_EXEC_WRITE_EVT' with esp_ble_gatts_get_attr_value the following appears in my log:
'gatts_get_attribute_vaule failt:the value length is 0'

Further research resulted in a not set length attribute in the logic.
The row https://github.com/espressif/esp-idf/bl ... _sr.c#L405 does copy the value over but does not set the length attribute