LegacyNsfw / PcmHacks

PCM Hammer & PCM Logger, tools for General Motors Powertrain Control Modules (PCMs).
http://pcmhammer.org
171 stars 64 forks source link

Converted to use J2534DotNet library, modified solution to fix compile #345

Closed joukoy closed 8 months ago

antuspcm commented 8 months ago

Tested and working on my P01 with my MDI.

There is the old J2534.dll in pcmlibrary, which is no longer needed and can be removed, and a *50 on line 87 of J2534.cs which can also be removed, as the UnsafePassThruMsg type has a 4128 byte data buffer which should be enough without the multiplication, unless there is a reason it is needed to support some particular device.

antuspcm commented 8 months ago

Thanks for the latest update. Looks good now, any comments or other testers?

joukoy commented 8 months ago

No comments for now. I hope it works without problems.