Correct procedure for reading BLE characteristic values.
I am currently trying to read the value from a characteristic after detecting that the user has written to it.
I am calling aci_gatt_read_char_value() which is returning 0 (BLE success). From here I am expecting an event which triggers the aci_att_read_resp_event() function but I am not seeing that get called.
However, I am seeing that the Custom_STM_Event_Handler(void *Event) gets called directly after I call this function and the event code is:
I'm not sure what the issue here exactly. Should I be setting a flag and then calling the read function elsewhere? Or is there some other issue with my setup?
Thanks very much
Maks
