GAP Central device send a connection request without the timeout mechanism?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable
        When using the function CyBle_GapcConnectDevice to send a connection request to the remote device that has already shut down,no timeout event generated.Then use the function CyBle_GapcCancelConnection to cancel the connection,then power up the remote device and send a connection request again,get api error 106.what should I do this situation?   
0 Likes
2 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Can it be that you have to re-scan for connections with GapcStartScan() and StopScan().before you retry the ConnectDevice().

   

 

   

Bob

0 Likes
Anonymous
Not applicable
        The new version has fixed the problem.Thanks!   
0 Likes