3 Replies Latest reply on Jun 20, 2014 2:28 PM by jota_1939431

    Force quit connection?

    legic_1490776

      I have a problem where my connection gets hung in a strange way (see forum post Connection drops after a while -- trying to figure out how to debug ).

       

      As part of a possible work-around I implemented a callback to trigger on the idle connection timer.  This callback fires when the connection gets stuck - but I can't figure out how to do anything at that point to recover.  Is there any way to quit the current connection and return to advertising?  I tried turning advertisements back on, but until the connection drops it won't send them.  Is there any way to reset the stack somehow to cause it to recover from the broken connection state?