[SOLVED] Do not receive ESP_GATTS_WRITE_EVT on write CCC

User avatar
redradist
Posts: 30
Joined: Sat Apr 11, 2020 8:33 am

[SOLVED] Do not receive ESP_GATTS_WRITE_EVT on write CCC

Postby redradist » Fri Apr 16, 2021 10:28 pm

Hi all,

When write CCC from Android (enabling Notification or Indication) I do not receive event ESP_GATTS_WRITE_EVT from Bluedroid stack ...

Maybe I need enable such possibility via menuconfig ?
Last edited by redradist on Sat Jul 17, 2021 11:44 am, edited 1 time in total.

User avatar
redradist
Posts: 30
Joined: Sat Apr 11, 2020 8:33 am

Re: Do not receive ESP_GATTS_WRITE_EVT on write CCC

Postby redradist » Sat Apr 17, 2021 8:59 am

Also one thing I did not understand in gatt_server_service_table example is that why in this example provided only one CCC array of values:

Code: Select all

static const uint8_t heart_measurement_ccc[2]      = {0x00, 0x00};
It is the per client value ... how it could be shared ???

User avatar
redradist
Posts: 30
Joined: Sat Apr 11, 2020 8:33 am

Re: Do not receive ESP_GATTS_WRITE_EVT on write CCC

Postby redradist » Sat Jul 17, 2021 11:43 am

Issue was fixed, there was enable ESP_GATT_AUTO_RSP that is why my own response was not sent

Who is online

Users browsing this forum: No registered users and 127 guests