Concept Flow - xQueueSend() and xQueueReceive()
Prepare data to send
Call xQueueSend()
Is queue full?
Yes→Block or return error
No
Data added to queue
Call xQueueReceive()
Is queue empty?
Yes→Block or return error
No
Data removed from queue and returned
Done
Data is sent to a queue with xQueueSend(), which adds it if space is available; xQueueReceive() removes data if available, otherwise blocks or returns error.
