NeoDeviceEx Structure

A structure used by FindNeoDevicesEx and OpenNeoDeviceEx to locate and open neoVI devices.

C/C++ Declare

typedef struct NeoDeviceEx
{
NeoDevice neoDevice;
unsigned long FirmwareMajor;
unsigned long FirmwareMinor;
unsigned long Status; // 1=CM Running 2=Bootloader
unsigned long Reserved[16];  // may be expanded in future revisions
}NeoDeviceEx;

Visual Basic .NET Declaree

'//Structure for neoVI device types
Public Structure NeoDeviceEx
    Dim neoDevice As NeoDevice
    Dim FirmwareMajor As UInt32
    Dim FirmwareMinor As UInt32
    Dim Status As UInt32 '// 1=CM Running 2=Bootloader
    Dim Reserved00 As UInt32
    Dim Reserved01 As UInt32
    Dim Reserved02 As UInt32
    Dim Reserved03 As UInt32
    Dim Reserved04 As UInt32
    Dim Reserved05 As UInt32
    Dim Reserved06 As UInt32
    Dim Reserved07 As UInt32
    Dim Reserved08 As UInt32
    Dim Reserved09 As UInt32
    Dim Reserved10 As UInt32
    Dim Reserved11 As UInt32
    Dim Reserved12 As UInt32
    Dim Reserved13 As UInt32
    Dim Reserved14 As UInt32
    Dim Reserved15 As UInt32
End Structure

C# Declares

//Structure for neoVI device types
[StructLayout(LayoutKind.Sequential)]
public struct NeoDeviceEx
{
    public NeoDevice neoDevice;
    public UInt32 FirmwareMajor;
    public UInt32 FirmwareMinor;
    public UInt32 Status; // 1=CM Running 2=Bootloader
    public UInt32 Reserved00;
    public UInt32 Reserved01;
    public UInt32 Reserved02;
    public UInt32 Reserved03;
    public UInt32 Reserved04;
    public UInt32 Reserved05;
    public UInt32 Reserved06;
    public UInt32 Reserved07;
    public UInt32 Reserved08;
    public UInt32 Reserved09;
    public UInt32 Reserved10;
    public UInt32 Reserved11;
    public UInt32 Reserved12;
    public UInt32 Reserved13;
    public UInt32 Reserved14;
    public UInt32 Reserved15;
}

Remarks

FindNeoDevicesEx. Then the structure is used by OpenNeoDeviceEx to make a physical connection to a neoVI (ECU) device.

Item

Description

neoDevice NeoDevice

Structure that containing device information like Serial number, device type, and Device Handel

unsigned long FirmwareMajor

Returns the Major firmware version of the device

unsigned long FirmwareMinor

Returns the Minor firmware version of the device

unsigned long Status

Tells the status of the device.

CoreMini Running = 1; Bootloader = 2;

unsigned long Reserved

Reserved for future use