I'm using XCP-API on CAN and I'm able to send and receive message with some ECUs.
Now I have to set a connection with a slave that is expected to receive LEN=2 in connect command, without tail field. I saw that Connect function in XCP-API send always an 8 bytes message (2 bytes parameter + 6 bytes tail filled with 0x00 value).
Is there someway to change len? Or I have to ask for changing in slave ECU software?
Thanks anyone will answer me,
NB=Sorry for my poor english
PCAN-XCP always use MAX_DLC (8). If the length of the XCP frame is less than 8, then fill bytes are used (the tail is always present). Unfortunately, this cannot be changed.