NefMoto

Technical => Communication Protocols => Topic started by: razon on December 20, 2024, 04:24:44 PM



Title: UDS Payloads using service 0x3E (testerPresent)
Post by: razon on December 20, 2024, 04:24:44 PM
Can anybody provide link for some documentation or care to explain what payloads are typically sent using the testerPresent service (VW speciffic)
Something to do with session timings?

examples:
7E0,08,06,3E 06 8C EC 01 80 00
7E8,08,06,7E 06 00 FE 87 04 55
or
7E0,08,06,3E 02 8C EC 01 04 00
7E8,08,06,7E 02 00 00 00 00 55


Title: Re: UDS Payloads using service 0x3E (testerPresent)
Post by: elias on December 20, 2024, 04:58:30 PM
Testerpresent is just a dumb service which is responding with a constant. Its comparable with the "ping-service" on the internet. its just being used for checking by testers if the ECU is online. OEM implementation is always the same, and does not have any "extended" functionality.

That being said, its been common practise for alot of custom-code-devs to "sneak-in" some advanced services into this service. The code responsible for testerpresent is usually really easy to find and does not change (much) over different ecu variants. The functionality implemented depends on whatever has been patched into the binary. I personally use it for memory-read, memory-write, memory-execute. However any kind of functionality can be implemented, so unless you provide a binary, nobody can exactly tell you what exactly may or may not be triggered there.