Thomas Höhenleitner
Thomas Höhenleitner
An init() function should create a uint16 slice with len IDmax - IDmin and fill it iteratively with IDmin....IDmax. Any used ID is swapped to the slice[used] with used++. For...
If IDs exist outside IDmin...IDmax, they are ignored. If such a trice changed, simply a new ID is generated.
Done in `trice insert` from v0.61.0
works again in branch refactor
Stay with `id(0)`, `Id(0)` and `ID(0)` for simplicity.
Discarded.
This will work only for new *trice* messages. Legacy IDs are not changed. Remove the legacy IDs first to apply the rules.
Solved in branch noids
Done in v0.61.0 with `trice insert`