Page 1 of 1

Tail field in Connect message

Posted: Thu 4. Apr 2019, 09:43
by crespira
Hi all,
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,
Raffaele Crespi

NB=Sorry for my poor english ;)

Re: Tail field in Connect message

Posted: Thu 4. Apr 2019, 09:54
by K.Wagner
Hello,

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.

Re: Tail field in Connect message

Posted: Thu 4. Apr 2019, 10:17
by crespira
Hi again,
thanks for answering so fast.

I going to ask for changing software in slave ECU.

Regards,
Raffaele