Homepage GitHub

V0 and v1 coexist

Hi!

I read that the toggle bit can be used to distinguish v0 and v1 of the protocol.
Will there be an API support for this in libuavcan/libcanard?

Or will it be up to user to develop their own transport layer decoding mechanism to route v0 and v1 messages to v0/v1 stacks and further up to the application(s)?

I am seeing a scenario were nodes on the bus shall be updated from v0 to v1. Or were only v1 nodes exists but additional v0 node is attached and shall be updated. Given that one “updater” node is handling the update…

But ofcource, if the updater is a linux machine I guess it can have a dedicated application performing v0->v1 updates, called from main v1 application.

BR

Probably not.

Probably yes.

Probably there will be very few systems that make v0/v1 coexist at runtime. I expect most applications will transition to v1 synchronously. I am considering currently what would it cost to have the Kocherga bootloader support both v0/v1 to simplify such atomic transitions.