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.

How to manage unexpected link loss

Other Parts Discussed in Thread: CC2540

Hi fellow members,

I'm working with CC2540 and I was wondering how can I get a notification (or a callback call) when there's an unexpected link loss. I'm using de KeyFobb app as an example and peripheralStateNotificationCB does not handle unexpected link loss events.

When there's a link loss I need to store data in a memory, that's why i need to be notified when the link y lost.

Does the GAP profile manage this type of events?

Has anyone faced this problem before?

Thanks a lot.