Hi everyone,
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.
Aurélien
Salut,
A good question that has been answered in our documentation already:
https://riot-os.org/api/group__core__msg.html
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.
=>
https://riot-os.org/api/group__sys__xtimer.html#ga9a8ab2f8bedb8e849ad9b168943a4dd5
Cheers,
Ludwig