Part Number: LAUNCHXL-CC1352P
Tool/software: Code Composer Studio
Hi,
I am working on the simple central project. I would like to modify the simple central project in order to manage indication message from a GATT server when a characteristic value is changed. I analysed the code of simple central, I understood that the client has to send an acknowledge message once the first indication of type attHandleValueInd_t is received. The second step is the server respond to the ACK message with an other attHandleValueInd_t message. But I don't understand where sould I use the GATT_ResgisterForInd() function which subscribed the client to the notification ? I would like to someone confirm or not my guess on the processing indication message. The GATT_Indication() function should be called in the function that process the GATTMsg once a ATT_HANDLE_VALUE packet is received in order to send a ACK message.
Best Regards,
Paul-Emile Perrin
