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.

RTOS/LAUNCHXL-CC2640R2: How to check if a device is paired and/or bonded with cc2640?

Part Number: LAUNCHXL-CC2640R2
Other Parts Discussed in Thread: CC2640

Tool/software: TI-RTOS

Hi

I am using project_zero/multi_role hybrid example from SDK 1.50.0.58. 

I am looking for some kind of a function or just a way to simply determine whether a device (an android smartphone) is paired with CC2640 and similar one to find if it is bonded. Let's say that I got simultanously 4 devices connected and only two of them are bonded and have their keys stored in CC2640's SNV. 

Something like 

uint8_t isPaired(uint8_t connectionHandle) { .... }

would be sufficient :)

I have seen  but couting the bonds number, resetting the CC2640 and counting again isn't an option for me.

Any ideas?

thanks