You are here

How to debug BLE stack | Cypress Semiconductor

How to debug BLE stack

Summary: 1 Reply, Latest post by roit on 13 Sep 2015 02:43 AM PDT
Verified Answers: 1
Last post
Log in to post new comments.
robertseczkowski's picture
127 posts

After some time CustomEventHandler is not called.

How to debug BLE stack?

What is the requirement for BLE stack to call Event Handler?

Why BLE stack source is not available?


BLE stack looks as follows:

void CustomEventHandler(uint32 event, void *eventParam) {


 CyBle_Start( CustomEventHandler );




roit's picture
Cypress Employee
221 posts

CustomEventHandler will only be called when there is an activity on the BLE side. Such activities include connection, disconnection, advertisement/scanning start/stop, write request/response, MTU exchange request/response, etc. Unless it is a procedure that requires application intervention, the BLE stack will take care of the activities and the CustomEventHandler will not be called.

For what activity are you expecting the CustomEventHandler to be called? Are there any interrupts in your design that have higher priority than bless interrupt and are being called frequently.?

Log in to post new comments.