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.

CC2642R: Connecting two multirole projects

Part Number: CC2642R

Hi!

I'm testing out a setup where I want to connect two CC2642R devices running the same software. My project base is Simple_Peripheral but with multirole functionality added.

So far I can connect the two devices and transfer data but I'm struggling with stability issues.

If I enable scan and advertise at the same time on both devices they will fail. Initially both devices crashed but I found out that avoiding to reenable advertisement after issuing the Gap_InitConnect command stopped that. But I still end up in a situation where it fails (as the devices are in sync I suppose).

So:

1. Can I see the result of the Gap_InitConnect command somewhere so I can detect the failed connection attempt and then reenable advertisement?

2. Am I missing something obvious in this multirole setup? My goal is that the user presses a button on each device and then they connect as fast as possible - But this will of cause mean that there is a risk that they are in sync. 

Best regards