Quantex GmbH
Η περιοχή σας: Ευρώπη

StartBoot Putting the VCI in update download mode

Description

After this command, the VCI 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 the VCI. Possible reasons: The VCI is turned off, there is no network, or the IP address is not set correctly.
ERR_INVALID_DEVICE_ID Set a non-existent device ID DeviceID

Example

#include "j2534_lib.hpp"

unsigned long DeviceID;
unsigned long Ret;

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