SDeviceSettings Structure

This structure defines a layout for setting device settings for various devices.

typedef struct __declspec(align(2))
{
   unsigned int uiDevice;
    union {
           SFireSettings fire;
           SFire2Settings fire2;
           SVCAN3Settings vcan3;
           SRADGalaxySettings radgalaxy;
           SRADStar2Settings radstar2;
           SVCAN4Settings vcan4;
           SVCAN412Settings vcan4_12;
           SVividCANSettings vividcan;
           SRADPlutoSettings pluto;
           SRADSuperMoonSettings supermoon;
       } Settings;
} SDeviceSettings;

Remarks

Item
Description

uiDevice_en

Set to indicate the type of hardware that is trying to be accessed.

DeviceFireSettingsType = 0

DeviceFireVnetSettingsType = 1

DeviceFire2SettingsType = 2

DeviceVCAN3SettingsType = 3

DeviceRADGalaxySettingsType = 4

DeviceRADStar2SettingsType = 5

DeviceVCAN4SettingsType = 6

DeviceVCAN412SettingsType = 7

DeviceVividCANSettingsType = 8

DeviceECU_AVBSettingsType = 9

DeviceRADSuperMoonSettingsType = 10

DeviceRADMoon2SettingsType = 11

DeviceRADPlutoSettingsType = 12

DeviceRADGigalogSettingsType = 13

DeviceVCANRFSettingsType = 14

DeviceEEVBSettingsType = 15

DeviceVCAN4IndSettingsType = 16

DeviceNeoECU12SettingsType = 17

DeviceFlexVnetzSettingsType = 18

DeviceCANHUBSettingsType = 19

DeviceIEVBSettingsType = 20

DeviceOBD2SimSettingsType = 21

DeviceCMProbeSettingsType = 22

DeviceOBD2ProSettingsType = 23

DeviceRedSettingsType = 24

DeviceRADPlutoSwitchSettingsType = 25

DeviceRADJupiterSettingsType = 26

DeviceFire3SettingsType = 27

DeviceRadMoonDuoSettingsType = 28

settings

Set to the type for the hardware settings are going to be read from.

Unions can be used in C++. Other languages this needs to be set. VB Example for RAD Galaxy

<StructLayout(LayoutKind.Sequential, Pack:=2)> Public Structure SDeviceSettings

Dim uiDevice As UInt32Dim Settings As SRADGalaxySettings

End Structure


Last updated