This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

using indication to send data

Hi We are using indication to send data to make sure master receive all the package.If we didn't receive the confirm message,what should we do?Should we send it again in appication or the stack will keep sending until receive a confirm message?

Thanks

Parents
  • Not receiving a Confirmation on an Indication would be considered a timeout, as per the Core Specification, Volume 3, part G, section 4.14:

    If the Attribute Protocol transaction times out, the procedure shall be considered to have failed, and the local higher layer shall be notified. No further GATT procedures shall be performed. A new GATT procedure shall only be performed when a new ATT Bearer has been established.

    In practice, this means that you must disconnect if this happens, and only retry once a new connection have been established.

Reply
  • Not receiving a Confirmation on an Indication would be considered a timeout, as per the Core Specification, Volume 3, part G, section 4.14:

    If the Attribute Protocol transaction times out, the procedure shall be considered to have failed, and the local higher layer shall be notified. No further GATT procedures shall be performed. A new GATT procedure shall only be performed when a new ATT Bearer has been established.

    In practice, this means that you must disconnect if this happens, and only retry once a new connection have been established.

Children
No Data
Related