Quantex GmbH
Your region: Europe

StartBoot Switching the VCI to update download mode

Description

After this command, the VCI stops working over the J2534 protocol and begins waiting for commands over the BOOT protocol.

long StartBoot(unsigned long DeviceID)

Parameters

Return 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 set incorrectly.
ERR_INVALID_DEVICE_ID A non-existent device identifier DeviceID was specified

Example

#include "j2534_lib.hpp"

unsigned long DeviceID;
unsigned long Ret;

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