You are here

Connect to a BLE peripheral without scanning | Cypress Semiconductor

Connect to a BLE peripheral without scanning

Summary: 1 Reply, Latest post by Madhu Sudhan on 22 May 2016 09:08 PM PDT
Verified Answers: 0
Last post
Log in to post new comments.
mahesh_1542241's picture
4 posts

Hello Everyone,

I am using two PROC BLE devices one configured as GAP Peripheral & another as GAP Central. 

I want to scan for the device and run service discovery only for the first time I connect with the device. 

From the second time onwards I should only connect to the device update a value and disconnect. 

Is this possible? 

mady's picture
Cypress Employee
964 posts

Yes! ofcourse it is possible.

You can connec to the device and bond it the first time you connect. You can discover it services in the first time and store the characteristic handle values in your code.

From next time onwards you need not discover. You can directly use the handle values and perform read/write.

(Note if you want to retain the handle values even after power off/ hibernate, you need to store them in your on-chip flash.


-Madhu Sudhan


Log in to post new comments.