Tail field in Connect message

A free API for the communication with control units based on the Universal Measurement and Calibration Protocol (XCP) by ASAM for Windows®

Tail field in Connect message

Postby crespira » Thu 4. Apr 2019, 08:43

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 ;)
crespira
 
Posts: 2
Joined: Thu 4. Apr 2019, 08:22

Re: Tail field in Connect message

Postby K.Wagner » Thu 4. Apr 2019, 08:54

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.
Best regards,
Keneth
K.Wagner
Software Development
Software Development
 
Posts: 688
Joined: Wed 22. Sep 2010, 12:36
Location: Darmstadt, Germany

Re: Tail field in Connect message

Postby crespira » Thu 4. Apr 2019, 09:17

Hi again,
thanks for answering so fast.

I going to ask for changing software in slave ECU.

Regards,
Raffaele
crespira
 
Posts: 2
Joined: Thu 4. Apr 2019, 08:22


Return to PCAN-XCP



This website uses cookies for analytics, for logins to the online shop and the forum, and for the handling of an order. By browsing this website you agree to the use of cookies. Detailed information on their use can be found in our privacy policy.

OKPrivacy Policy