This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Application Fails after certain time



My application is a modified keyfob design that connects to an iphone and vibrates on text message.  I discovered that after 10-14 hours the device stops vibrating on text notification.  However the device is still connected through bluetooth and seems to still be running.  

This leads me to believe that my application stops running but the BLE stack continues.  All my application specific tasks will not occur such as button press' or vibration on notification. 

I have tested sending a massive amount of texts and it still works after a few hundred so I do not think that that is causing an overflow.  

Does anyone have any ideas on what could be going wrong?  Or how I can debug this issue?