Welcome in the forum!
There is a blog "100 projects in 100 days" where you can find a lot of examples. When using a PSoC4 BLE Pioneer kit, just drop a BLE component on your Topdesign and configure it accordingly to one of the examples. Tip: you may have two Creator 3.3 opened at the same time, so copy & paste is the winner.
1 of 1 people found this helpful
Hi welcome to forum.
These videos helped me a lot.
View videos, that will help. Also install CySmart app in your PC, Android or Iphone and test with it.
What I want to know is how the program execution happens. Let suppose the program execution reaches somewhere in the middle of my main program and a bluetooth app button is pressed. How will the program execution take place after that ? Will it skip rest of the body and execute callbacks or will it continue the flow and update the parameters ?
Enable interrupts CyGlobalIntEnable
You register your event handler function with API CyBle_Start
and in while(1) call CyBle_ProcessEvents() , You will receive BLuetooth related events in the event handler registered through CyBle_Start. Everything is mentioned in the videos list I shared with you earlier. If you want to know more set breakpoints on different cases in Event handler. I learned all connection/disconnection steps by debugging or you can search on internet.
Create a FindMe example project that will be helpful.