Search found 2 matches

by lane.ae
Fri Jan 24, 2025 7:25 pm
Forum: General Discussion
Topic: Nimble and multiple calls to ble_gattc_read
Replies: 1
Views: 633

Re: Nimble and multiple calls to ble_gattc_read

I found solution with help from this example https://github.com/espressif/esp-idf/blob/master/examples/bluetooth/nimble/blecent/main/main.c#L375. Problem is in that when to call multiple times to read. Not to call all in OnDicComplete() function, but to called it after the read is over. You have to ...
by lane.ae
Thu Jan 23, 2025 7:46 pm
Forum: General Discussion
Topic: Nimble and multiple calls to ble_gattc_read
Replies: 1
Views: 633

Nimble and multiple calls to ble_gattc_read

Hello, Does anybody knows how to free memory that is created/occupied by calling ble_gattc_read() ? Function ble_gattc_read() , calls ble_gattc_proc_alloc() , and inside that function it is called memset() . How do I free that allocated memory? I get error with error code 6, which is Operation faile...