when writing CAN LIN ETH, the channel only occupies 4 bits
Hello, I noticed that when writing CAN LIN ETH, the channel only occupies 4 bits. In practical use, there may be cases where the number of channels exceeds 20, which could lead to duplicate channel records. I wonder if this can be resolved?
@sy950915 The number of bytes each message require is optimized. The channel number is typical added in bits left-over. CAN and ETH have 4-bits while the LIN have 6-bit.
It is possible to add an extra byte for channel number but what is the required limit ?
@ihedvall Generally speaking, the channel number should occupy one byte. I checked in CANoe, and they also designed it to use one byte.