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.

LP-CC2652RB: Task delayed start / restart

Part Number: LP-CC2652RB
Other Parts Discussed in Thread: Z-STACK

Hello! My Project is based on two main tasks: "sampleApp_task"  (Application task entry point for the Z-Stack)

and "Mc2MainTask" : my task, declared and started  in the same way as other task.

Both tasks are configured inside main() function:

-----------------------------------------------------------------------------------

/* Configure app task. */
Task_Params_init(&taskParams);
taskParams.stack = myTaskStack;
taskParams.stackSize = APP_TASK_STACK_SIZE;
taskParams.priority = 2;// Priorità maggiorex Stack ?
Task_construct(&myTask, taskFxn, &taskParams, NULL);

/// Add another task for application specific logic
Task_Params_init(&taskParams2);
taskParams2.stack = myTaskStack2;
taskParams2.stackSize = APP_TASK_STACK_SIZE;
taskParams2.priority = 2;
Task_construct(&myTask2, taskFxn2, &taskParams2, NULL);

-----------------------------------------------------------------------------------

Here is the question: at the beginning can I launch only my application, then after some time launch "sampleApp_task"  (from my task?)

Likewise: can I restart  "sampleApp_task"  along my task ?

As you can see I'm not so familiar about handling tasks.... I hope someone can help me with few C source lines....

Thanks a lot

Luigi