This is an example of creating a queue buffer. Check out the Wiki https://github.com/karlyamashita/FDCAN_QueueBuffer/wiki