surya2932 wrote on Saturday, April 28, 2018:
Hi,
I would like to publish a message from one task to another task. Can you please help me any one
surya2932 wrote on Saturday, April 28, 2018:
Hi,
I would like to publish a message from one task to another task. Can you please help me any one
richard_damon wrote on Saturday, April 28, 2018:
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.
surya2932 wrote on Saturday, April 28, 2018:
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
richard_damon wrote on Saturday, April 28, 2018:
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.