Skip to main content
Associate
November 5, 2024
Question

STM32WB09 - No read event is generated

  • November 5, 2024
  • 2 replies
  • 819 views

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?

2 replies

STTwo-32
Technical Moderator
November 20, 2024

Hello @s215477 

I've escalated your request internally for more details (under internal ticket number 196695). In the meantime, you may want to take a look at this post (an STM32WB55 case that may help you but I'm not sure).

Best Regards.

STTwo-32

STTwo-32
Technical Moderator
December 3, 2024

Hello @s215477 

The GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP is used in network coprocessor context: when a read request arrives, the ACI_GATT_SRV_AUTHORIZE_NWK is notified in order to authorize the read with the aci_gatt_srv_authorize_resp_nwk() API.

Best Regards.

STTwo-32