Hi, I would like to publish a message from one task to another task. Can you please help me any one
What do you mean by ‘publish a message’? You can have the receiving task waiting for a message in a Queue, MessageBuffer, Semaphore, or using Direct-to-Task notifications (amoung other options), and another task signal it with that item.
Thanks Richard Damon for your reply. Actually I would like to do Inter-task communication between two tasks. I have two tasks one is uart task and another one is watch task. I would like to initilize the watch task events by posting a message from uart task
Again, you are using some loosly defined terms, like ‘initialize the watch task events’. What exactly are you wanting to do. I mentioned a number of the tool that FreeRTOS privides to do inter-task (or interrupt-to-task) communication.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.