Is there a way to have the same behavior as the xQueueReceive function implemented in FreeRTOS with a timeout that can be specified in order to not block our task infinitly.
I have taken a look msg.h interface, but i can’t find something that looks like what i want?
Am i missing something ?
Thank you very much.
A good question that has been answered in our documentation already:
Timing & messages
Timing out the reception of a message or sending messages at a certain time is out of scope for the basic IPC provided by the kernel. See the xtimer module on information for these functionalities.