This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: CC2650
Tool/software: TI-RTOS
Hello,
I would like to change the priority of ICall_createRemoteTasks(); from 5 to a number higher, and insert some of my own custom RTOS tasks of lower priority. The way main.c (that comes with sample peripheral) is written, priorities 5, 3, and 1 are already taken, not leaving much for custom tasks (especially considering that we are advised to not have any tasks with a priority higher than the BLE task). I have two tasks, a sensor controller data retrieval task (higher priority), and a data processing task (lower priority). How can i add these into the app/ble stack projects successfully if the maximum priority we have access to is 4? (AKA - can we change the priority of the predefined tasks?) Thanks
Please see the TI BLE Wiki www.ti.com/ble-wiki and sticky forum threads for additional examples & answers to most common questions!
Thank you for marking the thread as answered if your question was answered :)
In reply to JXS:
In reply to Anthony Andreoli:
That is very clear, however, how does TI expect users to run OTHER tasks to run in threads alongside the Bluetooth tasks(like pulling data from the sensor controller, and processing this data) if running Bluetooth requires 1) Not altering pre-defined priorities 2) No priorities are allowed to be above the BLE protocol priority {5} 3) Only having priorities 2 and 4 remaining as Bluetooth uses 1, 3, and 5.