Hi all! I have an application where i perform a "write command" with a device on the characteristic value of another device (client). I want on the client that when it receives an array of values by the write operation, to make something else, like sending the received values via uart or making some processing; so, i need something like an event to be put in the ble_evt_dispatch function where i will write all the further instruction to be executed when a write is received. How shall i do this? I tried simply to put a case BLE_GATTC_EVT_WRITE_RSP
in on_ble_evt (but i don't know if this case does what i am looking for) but it doesn't work (the case is not executed after a write operation), what is the instructions that i should write to get an event in response of a write on my client? Maybe what i need is something like the event BLE_EVT_TX_COMPLETE but on the receiving side? Or also, the function for a data_handler for my characteristic?
Please note that of course i already checked that the write operation is successfully performed!
EDIT: i also tried with the event BLE_GATTS_EVT_WRITE, but it seems to cause a disconnection between the two devices...