Hi all,
What is the difference between the app_mailbox and the nrf_queue api?
The documentation says:
A) The mailbox library provides functions to safely exchange messages by queuing them and reading them from the queue. Key features include:
- Protected adding to a mailbox.
- Protected retrieving from a mailbox.
- Two modes of overflow handling.
B) The queue library provides interrupt secure implementation of the circular buffer to store predefined objects. Key features include:
- Protected enqueuing
- Protected dequeuing
- Two modes of overflow handling
Is the mailbox an "old" one? It is not refrenced in anywhere. Which one is preferred for a simple irq safe queue?
Thank you,
Adam