Operating BLE | Cypress Semiconductor
I have several doubts about the functioning of the BLE.
What is the operating sequence of events generated?
when I give a CyBle_Start (AppCallBack);
I know that the first event generated is CYBLE_EVT_STACK_ON in which I send the device goes into Advertisement ... from that point my doubts arise, there are several events that can occur in the bluetooth stack, I know there is documentation and API available, but it is not clear when these events occur and how they should be used. I try to look at the examples, but each is implemented in a different way.
If possible explain step by step for each connection phase, how to read, write and report ...
an example of error that could not understand the reason is when I try to modify the Intervalor connection (my device is a type server peripheral) When I connect to the dongle using the cysmart appears on the screen the request to change the connection interval if I accept the request the services and features are unread and a timeout error and disconnects. If I do not accept the connection request interval change the device connects normally.
Thanks for listening!