Mbed CAN GetTxMailboxesFreeLevel function? Does It Exist?

I’m interested in using Mbed OS for task handling of CAN messages, there is times where I need to send more messages at 1 time than I have mailboxes available. (in my case of the stm32 , 3) is there a way to identify if all TxMailboxes are full?

Hi Mitch,

There is nothing in CAN APIs which helps. Of course CAN write returns 0 if write failed, 1 if write was successful. Maybe you can use EventQueue to handle several messages at the same time.

Regards,
Pekka