This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Is there a way creating user defined tasks on nRF9160

Hi,

Creating an new app will only call the main() in the form of task, i have requirement to create couple of task in my main() so is it possible to create user defined tasks?

regards

KK

Parents Reply
  • Hi,

     

    "main" is a thread, and you can omit it by not having it defined in your project, as shown in the basic thread sample.

    Or you can keep it, and the system will automatically define it as a thread. Its up to you.

     

    The parameters and priorities are set when defining a thread, as shown in the sample and the documentation that I previously linked to.

    Could you please clarify what the issue is?

     

    Kind regards,

    Håkon

Children
No Data
Related