How to differentiate the indication confirmation from callback

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
hachc_2137126
Level 5
Level 5
10 likes given 5 likes given First like received

Hi,

  Sending indication can be confirmed with ack from peer with call function provided in 'bleprofile_sendIndication'.

  But how do I differentiate it from multiple indications that sending out at the same time without the sequential order from waiting indication confirmation back from peer.

0 Likes
1 Solution

The master/server has to wait for confirmation (via this handle) after every msg is sent. In real applications, there are situations whereby a user can press a button twice in between a very short interval, the master will send and wait for confirmation, and repeat again.

View solution in original post

2 Replies
hachc_2137126
Level 5
Level 5
10 likes given 5 likes given First like received

According to SPEC.

The client shall send a Handle Value Confirmation in response to a Handle

Value Indication. No further indications to this client shall occur until the confir-

mation has been received by the server.

0 Likes

The master/server has to wait for confirmation (via this handle) after every msg is sent. In real applications, there are situations whereby a user can press a button twice in between a very short interval, the master will send and wait for confirmation, and repeat again.