After this command, the adapter stops working on the J2534 protocol and starts to wait for a command on the BOOT protocol.
long StartBoot(unsigned long DeviceID)
Definition | Description |
---|---|
STATUS_NOERROR | Function completed successfully |
ERR_DEVICE_NOT_CONNECTED | No connection to adapter. Possible reasons: The adapter is turned off, there is no network, or the IP address is not set correctly. |
ERR_INVALID_DEVICE_ID | Set a non-existent adapter ID DeviceID |
#include "j2534_lib.hpp"
unsigned long DeviceID;
unsigned long Ret;
Ret = StartBoot(DeviceID);
if (Ret != STATUS_NOERROR)
{ // Error handling
}