How to communicate between 2 PSoC 6 BLE pioneer kit CY8CKIT-062-BLE?

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

cross mob
chsrc_3700256
Level 3
Level 3
10 replies posted 5 replies posted 5 questions asked

I want to code the PSoC 6 Pioneer kit to communicate with other  PScC 6 using BLE module.

0 Likes
1 Solution
ShipingW_81
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 replies posted

To set up the communication between two CY8CKIT-062-BLE, you may basically need a GAP Peripheral and GAP Central. In GATT layer, the two GAP roles should switch to GATT Server and GATT Client.

Please refer to code example CE217639​,

in which a GATT Server reports heart rate data to GATT Client through Heart Rate Service.

View solution in original post

3 Replies
ShipingW_81
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 replies posted

To set up the communication between two CY8CKIT-062-BLE, you may basically need a GAP Peripheral and GAP Central. In GATT layer, the two GAP roles should switch to GATT Server and GATT Client.

Please refer to code example CE217639​,

in which a GATT Server reports heart rate data to GATT Client through Heart Rate Service.

chsrc_3700256
Level 3
Level 3
10 replies posted 5 replies posted 5 questions asked

WangS_81

Once the server is created we have to communicate with the client ... do we debug and run in the devices on the same system?

0 Likes

You can add log printing function(e.g. uart) in your code if you want to trace the communication process. The debugging mode is not effective enough for this case because it may violate timing requirements of BLE spec.