Dialog Semiconductor customer support - Custom Task ke_task_create ke_task_id_t https://support.dialog-semiconductor.com/resource-keywords/custom-task-ketaskcreate-ketaskidt en Create custom Tasks in SDK 6.0 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/create-custom-tasks-sdk-60

Hi

I had implemented a program using the dialog part 14583 and in this program I had created three additional tasks. This was using the SDK 5.0.3

For each task I had assigned an ID like

 ke_task_id_t MAIN_TASK = TASK_MAX + 3;

and then created the task using

  // Create the task ke_task_create(MAIN_TASK, &TASK_DESC_MAIN);

Now I wish to port this program to the 14586 using the SDK 6.0.10 and am having problems creating custom tasks and sending messages in between it.

In the SDK file "DA14585_SDK_6.0.10.511_0\DA14585_SDK\6.0.10.511\sdk\platform\core_modules\rwip\api\rwip_config.h" there are now two types of structures for task ids, the KE_TASK_TYPE and KE_API_ID and the scheme for identifying a task has also changed.

Can you please let me know if there is any example of creating a custom Task, and if there is not, then how do I implement a custom task.

Device: 
Fri, 16 Aug 2019 11:48:41 +0000 Anonymous 318812 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/create-custom-tasks-sdk-60#comments