Creating a Central GAP role

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

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hello, I am working with CY8CKIT-042-BLE, it´s the BLE Pioneer Kit. 

   

The problem, I have, is to create a Central GAP role, using the USB dongle 56LQXI , I did already a Server GAP Role project  and it works when I used CySmart.

   

I read some tutorials about how to initialize the StackEventHandler but when I developed the code

   

the connection between the USB dongle and the PRoC BLE Module is not possible, according to my code. However, using the Cysmart the connection is posible.

   

Also I´m having problem how to write on my server, I´m using the function  CYBLE_GATTC_WRITE_REQ_T 

   

but I dont know how get the attrHandle

   

I´ve attached the file with the Peripheral and Central  projects.

   

 

   

Thanks you for your help

   

David Caraveo

0 Likes
2 Replies
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

Hello,

   

Can you please tell us what exactly the problem is? Are you facing issues with connection or only while data is being transferred.

   

Thanks,

   

Hima

0 Likes
Anonymous
Not applicable

I´m having issue with the connection part. I cannot stablish the connection between them,

0 Likes