After this command, the adapter stops working over the J2534 protocol and begins waiting for commands over the BOOT protocol.
long StartBoot(unsigned long DeviceID)
| Definition | Description |
|---|---|
| STATUS_NOERROR | Function completed successfully |
| ERR_DEVICE_NOT_CONNECTED | No connection to the adapter. Possible reasons: the adapter is turned off, there is no network, or the IP address is set incorrectly. |
| ERR_INVALID_DEVICE_ID | A non-existent adapter identifier DeviceID was specified |
#include "j2534_lib.hpp"
unsigned long DeviceID;
unsigned long Ret;
Ret = StartBoot(DeviceID);
if (Ret != STATUS_NOERROR)
{ // Error handling
}