Problem with CyBle_GapcCancelConnection();

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

cross mob
Anonymous
Not applicable

Hi, i have a problem with this API function, when i want to disconnect from the device, (The device ir not connectected yet, i apply this function into: CYBLE_EVT_GAPC_SCAN_START_STOP. 

   

Later i launch SCAN API function, but i cant connect to other devices, it seem that the BT turn OFF, but BLE State is Scanning....i dont understand why.

   

 

   

Thanks for all

   


Carlos                                             

0 Likes
1 Solution
Anonymous
Not applicable

The correct way to handle the states for scanning have been demonstrated in the Central Project available in:

   

http://www.cypress.com/blog/100-projects-100-days/project-006-ble-central-immediate-alert-service

View solution in original post

0 Likes
1 Reply