Can uavcannode driver handle different publications/subscriptions for CAN1 and CAN2 independently?

Hi everyone,

I have a specific architectural question regarding the uavcannode driver on a custom STM32-based board with dual CAN interfaces (CAN1 and CAN2).

My goal is to use the uavcannode driver, but I want to separate the data traffic between the two buses. Specifically, I want to know if it is possible to configure the driver so that:

  • CAN1 has its own specific set of publications and subscriptions.

  • CAN2 has a completely different set of publications and subscriptions.

From my current understanding, the driver treats CAN1 and CAN2 as a redundant pair, mirroring the same published messages on both interfaces.

Is there a built-in mechanism (such as applying an interface mask to specific publishers/subscribers) within the current uavcannode implementation to achieve this separation?

The feature doesn’t exist but could be added. See the source code for UAVCAN_ESC_IFACE