I am using a modified multi role example on CC2650LP. I define the left button for scanning and right button for adv on/off. It works fine when CC2650LP is connecting to a SensorTag and I can turn on scan or turn on/off adv freely. However, when connecting to more than two SensorTags, CC2650 lost connection of all the SensorTags after I pressed either of the key.
I have tried the following things but no results.
- There is no connection terminated event on CC2650.
- I try to leave a clean ISR and increase heap size but the problem still exists.
Any suggestion is helpful.