You are here

how to code for custom ble profile as client | Cypress Semiconductor

how to code for custom ble profile as client

Summary: 4 Replies, Latest post by e.pratt_1639216 on 24 Mar 2017 11:10 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
patel karan's picture
3 posts

I have two cyble022001-00 module.with reference to how to create custom ble profile (rgb led) i created one custom profile with one cherecterestic having only one data as a value and try to write that data from cysmart on mobile and its successfully. now i want to program other device as client so i got reference from heart rate collector project and reached up to level device is connected now i want to read cherestricts value and want to change for that i don't know how to register function like "void HeartRateCallBack(uint32 event, void* eventParam)" is there any document for "how to create custom ble profile as a client"????

i try this " apiResult=CyBle_GattcDiscoverAllCharacteristics(cyBle_connHandle,handelrange);" but got invalid parameter error.


here i attach project 

design01 is as server peripheral. 

design03 is as client central.

mady's picture
Cypress Employee
1113 posts


For implmenting custom BLE Client, you can refer to our BLE UART Bridge Example. It has two projects one for a custom client and another for a custom server.

The project and related documentation is available in the above link.


- Madhu Sudhan

patel karan's picture
3 posts

Thanks for reply,

I take refrence from your link and solve client issue .now i want to apply phenomena like my tag advertise periodically for defined time.for that i try to implement watchdog as a periodic timer but specified delay is not generated.i don't know why watchdog is not working and which mistake i am doing...can any one help???.here i attach my project.


mas129_2256741's picture
21 posts

Do you know of an updated version of this project?  I downloaded the zip but, the Bluetooth component is an older version that is not supported in the newer version.  The newer version is version 2.0.

e.pratt_1639216's picture
563 posts

Have you tried right clicking on the project and selecting "Update Components" in the psoc explorer menu? Usually that lets you update the components to the newest version without any issue.

Log in to post new comments.