Unable to use esp_ble_gatts_get_attr_value after BLE long write

mh-dev
Posts: 25
Joined: Mon Nov 30, 2015 5:14 am

Unable to use esp_ble_gatts_get_attr_value after BLE long write

Postby mh-dev » Sat Aug 26, 2017 12:39 am

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

Who is online

Users browsing this forum: No registered users and 46 guests