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.

CC2564MODA: how to initiate connection after disconnection with smart phone

Part Number: CC2564MODA
Other Parts Discussed in Thread: CC2564

Hello,

We are using CC2564 duel mode chip and bluetopia stack for bluetooth communication.  We are initiating initial connection (pairing) from smart phone.  When smart phone gets disconnected, we want our device should initiate re-connection by sharing link key. For that purpose we have used the API GAP_Authenticate_Remote_Device().

But this API starts authentication successfully when device is already connected. This API returns error -1 if we try to connect disconnected but paired device.

Thanks.