Search found 6 matches

by KEStarDev
Fri 22. Sep 2023, 08:39
Forum: PCAN-UDS
Topic: Get Raw CAN Data out of UDS Response
Replies: 6
Views: 4826

Re: Get Raw CAN Data out of UDS Response

Hello,

I managed to get it running.

This is the working code Snippet, which receives the ECU-Data and stores it into "receiveBuffer":




uds_msg response = new uds_msg();
uds_msg request_confirmation = new uds_msg();
uds_msg request = new uds_msg();
uds_status result = uds_status.PUDS_STATUS ...
by KEStarDev
Thu 21. Sep 2023, 17:43
Forum: PCAN-UDS
Topic: Get Raw CAN Data out of UDS Response
Replies: 6
Views: 4826

Re: Get Raw CAN Data out of UDS Response

Hi,

thanks, yes that helps a lot.
I just tested it. And indeed, after the whole data has been sent by the ECU, the blocking "WaitForService_2013" responses with a success.

Is there also a code snippet, which shows me how I can get the Data out from the response message in c# language ...
by KEStarDev
Thu 21. Sep 2023, 14:52
Forum: PCAN-UDS
Topic: Get Raw CAN Data out of UDS Response
Replies: 6
Views: 4826

Re: Get Raw CAN Data out of UDS Response

Hey,

thanks for the response. I managed to get the sample project running.

Now I have a further question:
I want to read out Data from an ecu with the "Read Data by Identifyer" command.

The ECU is already responsing to my request with the data in a flow controll datastream.
The Peak library is ...
by KEStarDev
Thu 24. Aug 2023, 08:43
Forum: PCAN-UDS
Topic: Get Raw CAN Data out of UDS Response
Replies: 6
Views: 4826

Get Raw CAN Data out of UDS Response

Hi,

Is there a way to get out the raw data from an UDS Response?

I tried sending a Testerpresent
"ID = 0x281; D0=02 D1=3E D2=00 D3=55 D4=55 D5=55 D6=55 D7=55"
and the ECU is responding correct with:
"ID = 0x2C1; D0=02 D1=7E D2=00 D3=00 D4=00 D5=00 D6=00 D7=00"

But in my Software (code is below ...
by KEStarDev
Thu 24. Aug 2023, 07:30
Forum: PCAN-UDS
Topic: Request/Response Mapping with multiple Devices on CAN
Replies: 2
Views: 2530

Re: Request/Response Mapping with multiple Devices on CAN

Hello,

thanks for the quick response. This code snippet helps a lot. I tried something simmilar already but it did not work.
Now i got it running.

For those who have the same problem, the following might be helptful:
Even when I registered the correct response mappings, I did not change the ...
by KEStarDev
Fri 18. Aug 2023, 11:33
Forum: PCAN-UDS
Topic: Request/Response Mapping with multiple Devices on CAN
Replies: 2
Views: 2530

Request/Response Mapping with multiple Devices on CAN

Hey everybody,

I have the following situation:
I am writing a software in C# which uses the Peak UDS API to make some diagnostics of a can bus where 16 Devices are attached.

My current problem is, that I do not fully understand the Requese/Response mapping of the UDS API.
I have read the ...