cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB09 - No read event is generated

s215477
Associate II

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 2
STTwo-32
ST Employee

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

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

STTwo-32
ST Employee

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

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.