2024-11-05 01:05 AM
Hello.
Im having issues generating an event when pressing read on my smartphone, on my CHAR_PROP_READ characteristic in my BLE service.
I enabled the "GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP", which should notify when a read request of any type is received for this attribute. When i build the project and debug in the service_EventHandler for this service, it shows that the eventhandler is never entered when clicking read. I do receive the value that is initialized, so communication is working.
When i test the "GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" for the write equivalent event, this works just fine, so its just the read event that is not generated.
Any idea why im not getting an event when reading?