Part Number: CC2652R
Hi.
I use multi_role SDK.
When the multi_role is central role, TI board establish a link with device which is already bonded.
which API or function do the auto establish a link?
Best regards,
Kim.
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.
Part Number: CC2652R
Hi.
I use multi_role SDK.
When the multi_role is central role, TI board establish a link with device which is already bonded.
which API or function do the auto establish a link?
Best regards,
Kim.
Hi Kim,
I would refer to the simple_central example as it contains an autoconnection feature. Specifically SimpleCentral_autoConnect() and SimpleCentral_doAutoConnect() in simple_central.c may be helpful. Additionally, it may be helpful to reference the simple_peripheral example's SimplePeripheral_doAutoConnect() function in simple_peripheral.c alongside simple_central as these two examples work together. All connections are established using the GapInit_connect() function.
Best,
Nima