OpenVehicleDiag
OpenVehicleDiag copied to clipboard
[BUG] Application does not support DrewTech Mongoose J2534
When I try to select DrewTech Mongoose J2534 adapter I have got error "Error code 8 (Device not connected)".
Here is j2534 log:
++ 0.000s PTOpen(059BBC40, 01357E40) pName: test Library Version: MongoosePro GM II J2534 Library v1.2.8.0 E1 Returning 8:ERR_DEVICE_NOT_CONNECTED 'Specified szName 'test' is not valid'
Interesting. So it seems your device requires a name argument. I'll take a look
Try to pass NULL as first parameter and I will check. Here is example:
0.000s ++ PTOpen(NULL, 0x008FFC38) returning DeviceID: 1 2.441s 0:STATUS_NOERROR
yeah i gathered that. Seems really odd as DrewTechnologies own Passthru API documentation does not state what happens if you pass a random value into PTOpen.
Try and compile the app now. This commit should fix it :)