This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

When I enable char. notification on client I got BLE_GATTS_EVT_WRITE to CCCD handle - how to handle it?

Hi, I found that when I enable char. notification from my android client it triggers BLE_GATTS_EVT_WRITE where p_ble_evt->evt.gatts_evt.params.write.handle matches to my attribute.app_char_handles.cccd_handle. Client wants to write 2 Bytes to CCCD of char. on my server. How should I handle it? I don't know to what CCCD structure members I should write this 2 Bytes. Or do I need to care about this?

Related