4 posts / 0 new
Last post
Bassam.sharkawy
Offline
Last seen:5 years 10 months ago
加入:2014-10-14 10:37
ACK of Indication

Hello Guys,

我用DA14580。我克雷亚ted one service with two characteristics with RD/WR/IND properties, I just need to know how can i know when the ACK comes?

Where can i get the ACK of the sent packet?
Does "GATTC_INDICATE" case in gattc_cmp_evt_handler mean that the packet has been sent over the air, or that the ACK on the sent packet has been received ?

Thanks in advance,
Bassam

Bassam.sharkawy
Offline
Last seen:5 years 10 months ago
加入:2014-10-14 10:37
Dialog, I Think i should get

Dialog, I Think i should get a call back when i press "listen for notification", how can i get this call back and on what GATT message should it come?
I really need your help urgently. So would you please respond ? :)

MH_Dialog (not verified)
Hi Bassam,

Hi Bassam,

If you are talking about the attributes in the service you created, the ACK or response depends on what messages are used to access the attribute database.
Read and Write Request always cause the attribute server to send a single response. Write command never causes a reponse.
For more information , please check gattc_task.h.
Let me know if it clarifies your question.

BR,
MH_Dialog

Bassam.sharkawy
Offline
Last seen:5 years 10 months ago
加入:2014-10-14 10:37
Thanks Dialog for your

Thanks Dialog for your response, I don't know if i was clear enough. Basically the difference between the Indication and Notification is that Indication causes an ACK to be sent from the Mobile. I am asking about how can i check if i have received the ACK from the Mobile device.

Thanks in advance