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.

CC2540 Connection Error after multiple Connects / Disconnects

Other Parts Discussed in Thread: CC2540

Hello,

I have encountered an error with our prototype that I am currently trying to fix. The error occurs with connection and disconnection events. I am using a Bluetooth LE App called "BLE Scan" to connect to our LE Accessory (CC2540 based). The "BLE Scan" App basically acts as the "central" device that our "peripheral" device connects to.
The first attempt to connect the App to the Device is successful almost 100% of the time. But after disconnecting and then reconnecting (sometimes takes 3 to 4 tries before the error occurs), the Device will not properly handle the connection, it will cease advertising, and it cannot be connected to anymore until the power is cycled.
Essentially, the App thinks that it is connected to the Device, and the Device does not think that it is connected. This can also happen vice versa: I use the App to disconnect, and the App thinks that it is disconnected but the Device thinks that it is still connected.
I will be troubleshooting the Packet Sniffer logs in the coming days but would appreciate any help on the subject.
Thanks,
Seth Berggren