Please install the PSoC Creator 4.2 Beta 2 version available here: PSoC Creator 4.2 Beta 2 Announcement!
and use the latest code example from :CE218135 PSoC 6 MCU with Bluetooth Low Energy (BLE) Connectivity: BLE with Proximity
In this code example, Cortex M0+ is used as the BLE controller. It runs Cypress provided code that automatically handles controller portion of the events, therefore doesn't require a user defined event handler. Cortex M4 on the other hand contains the host code. Therefore, it requires a user defined stack event handler that takes care of the application specific events.
Please let me know if you need any additional help with this code example.