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

Sending Next indication before receiving confirmation from peer

Hi,

I send an indication to peer device and i was waiting for confirmation of that indication. Now can i send next indication before i receive the confirmation for that. I also observe the device is disconnecting after a specific time, if it won't receive confirmation for the indication. Is this time out is handled inside soft device?

Thanks.

Parents
  • Hi 

    No, you cannot send another indication until the current one gets a confirmation, or the indication times out after 30 seconds. 

    For this reason we normally recommend using notifications instead, unless you have a special reason to use indications. 

    The SoftDevice should not disconnect simply because an indication times out, but it might send an event to the application that isn't correctly handled and leads to an assert?
    If this problem persists feel free to share your code with me, or a link to the example you are using, and I can take a look at it. 

    Best regards
    Torbjørn

Reply
  • Hi 

    No, you cannot send another indication until the current one gets a confirmation, or the indication times out after 30 seconds. 

    For this reason we normally recommend using notifications instead, unless you have a special reason to use indications. 

    The SoftDevice should not disconnect simply because an indication times out, but it might send an event to the application that isn't correctly handled and leads to an assert?
    If this problem persists feel free to share your code with me, or a link to the example you are using, and I can take a look at it. 

    Best regards
    Torbjørn

Children
Related