CyBle_ProcessEvents() in a FreeRTOS Task | Cypress Semiconductor
CyBle_ProcessEvents() in a FreeRTOS Task
i´m trying to use the "BLE stack" that is provided with PSoC Creator as static library in a FreeRTOS Task.
My first idea was to call "CyBle_ProcessEvents()" in the Idle Task, but this trail was not successful.
Now, i have created a FreeRTOS Task for the processing of the BLE stack api´s, but this isn´t working as expected too.
The task that processes the BLE stack api´s is at highest priority and it is the only task at this priority.
Also the BLE_bless_isr is at the highest priority.
The problem occurs in the call "CyBle_ProcessEvents()".
Du you have any ideas what i do wrong or why it isn´t possible to call the api´s of the BLE stack static libraries within a FreeRTOS Task?
Because the BLE library is static, i can´t debug it with the debugger.
I have attached the files for the FreeRTOS Task.
Thanks in advance