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

I'm trying to write a simple BLE application. I've done a GAP peripheral, GATT server, on pioneer kit, and I can see the results on Android application from Cypress. Of course it result as Unknown service, but I can read my data.
Now I'm trying with counterpart: the central (client). But I have problems.
Unfortunately the BLE central's examples are very few and something is wrong.

   

First step: a very simple check.

   

The main program initialize the system and the BLE's callback function and I wait for CYBLE_EVT_STACK_ON event after call of CyBle_Start .
I show the stack ON event with a green LED and a message sent via UART to a terminal, but nothing happens.
What's wrong?


I attach my project.

   

 

   

Thanks, Fabrizio

0 Likes
1 Solution
Anonymous
Not applicable

I found my error. I report the solution hoping will help someone heedless like me.
Simple, I've not included the call to the  function CyBle_ProcessEvents() .

View solution in original post

0 Likes
1 Reply
Anonymous
Not applicable

I found my error. I report the solution hoping will help someone heedless like me.
Simple, I've not included the call to the  function CyBle_ProcessEvents() .

0 Likes