Quantex GmbH
DE RU EN

StartBoot Putting the adapter in update download mode

Description

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)

Options

Returned error codes

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

Example

#include "j2534_lib.hpp"

unsigned long DeviceID;
unsigned long Ret;

Ret = StartBoot(DeviceID);
if (Ret != STATUS_NOERROR)
{	// Error handling
}