How many bytes is frame?
True. A LIN frame has 8 bytes of data.
I guess I'm confused about the 256 bytes of data. Is this using 0x3C/0x3D UDP protocols?
Is you LIN device a LIN Master or Slave?
I'm using LIN TRANSPORT LAYER,not UDP. Maybe you can call it PDU (Packet Data Unit).
Here is the document about it.(at Page 59)
And my LIN device is LIN Slave.
I'm not sure I can be of a lot of help (I usually work on the LIN HW side of the project). Are you referring to page 76 "184.108.40.206 Data dump"?
0x3C : 0x21 0x11 0x00 xx xx xx xx xx
I assume from above, you're trying to issue a 0x3C command from the master to 0x21 as the NAD.
PCI = 0x11 => lower nibble = 0x1xx bytes for length of message.
A LEN byte is only used in FF; it contains the eight least significant bits of the message length. Thus, the maximum length of a message is 4095 (0xFFF) bytes.
LEN = 0x00 least significant byte. Total Length of message is 0x100 = 256 bytes.
I assume from your initial post you might have spotted a "bug" in the SW?