using BLE as a Central

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

cross mob
Anonymous
Not applicable

Hello,

   

I am trying to use Cypress BLE as a master to connect with different devices such as Heartrate monitoring, blood pressure and so forth (all SIG approved profile), and I have some question:

   

Which profile do I have to use in central?
Do you have any example code for master which it can connect to different profile?
Where can I download source code for BLE Dongle CySmart 1.1.0.17.HEX?

   

 

   

Cheers

0 Likes
1 Solution
Anonymous
Not applicable

Hi Majid,

   

 

   

Welcome to the Forum!

   

For an example on how to use PSoC 4 BLE/PRoC BLE as Master, refer to example project at following location:

   

https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day006_Cen...

   

In case you want your Central device to connect to various kind of peripheral devices, then you do not need to explicitly mention a profile. Select the profile as Custom and do custom Service discovery in firmware.

   

Also,you can find the CySmart HEX file v 1.1.0.17 from following location (look under Related files section):

   

http://www.cypress.com/documentation/development-kitsboards/cy8ckit-042-ble-bluetooth-low-energy-ble... 

View solution in original post

0 Likes
5 Replies
Anonymous
Not applicable

Hi Majid,

   

 

   

Welcome to the Forum!

   

For an example on how to use PSoC 4 BLE/PRoC BLE as Master, refer to example project at following location:

   

https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day006_Cen...

   

In case you want your Central device to connect to various kind of peripheral devices, then you do not need to explicitly mention a profile. Select the profile as Custom and do custom Service discovery in firmware.

   

Also,you can find the CySmart HEX file v 1.1.0.17 from following location (look under Related files section):

   

http://www.cypress.com/documentation/development-kitsboards/cy8ckit-042-ble-bluetooth-low-energy-ble... 

0 Likes
Anonymous
Not applicable

Helo Roit,

   

Thanks.

   

The link for source code of BLE Dongle CySmart 1.1.0.17.HEX in not working.

0 Likes
Anonymous
Not applicable

That is weird. The link is partial.

   

Anyway, please try this:

   

http://www.cypress.com/documentation/development-kitsboards/cy8ckit-042-ble-bluetooth-low-energy-ble... 

0 Likes
Anonymous
Not applicable

Hello Roit,

   

I could not find source code there. There is just hex file.

   

Could you please send the source code for me?

   

Thanks

0 Likes
Anonymous
Not applicable

Ahh, sorry. I though you are looking for the HEX file.

   

The CySmart Source code is part of the BLE Pioneer Kit installer. The link is same as my earlier post (http://www.cypress.com/documentation/development-kitsboards/cy8ckit-042-ble-bluetooth-low-energy-ble... ).

   

Look for the file 'CY8CKIT-042-BLE KIT ONLY PACKAGE' under Related Files section and download and install it. The CySmart example project, along with other example projects, should be at <installation_path>\Cypress\CY8CKIT-042-BLE Kit\1.0\Firmware\.