Documentation PDF

MUXDLL  V6.55
General

Data Structures

struct  tMuxAlignment
 Alignment. More...
 
struct  tMuxConfigMode
 Configuration mode. More...
 
struct  tMuxInformations
 Information. More...
 
struct  tMuxInternalInfo
 Internal information. More...
 
struct  tRTCValue
 RTC values. More...
 
struct  TTimings
 Timings. More...
 
struct  TTimingValue
 Timing values. More...
 
struct  tUartConfig
 Uart configuration. More...
 

Macros

#define MUXALIGNEMENT_16BITS_TESTVALUE   0x8000
 Test value for alignment on 16 bits.
 
#define MUXALIGNEMENT_32BITS_TESTVALUE   0x80000000
 Test value for alignment on 32 bits.
 
#define MUXALIGNEMENT_8BITS_TESTVALUE   0x80
 Test value for alignment on 8 bits.
 
#define MUXALIGNEMENT_ENUM_TESTVALUE   STATUS_ERR_FILEDLL
 Test value for alignment on enum.
 

Enumerations

enum  tETHState { ETH_Disabled = 0, ETH_Enabled = 1 }
 State of Ethernet. More...
 
enum  tMuxCSMode { CSMODE_DISABLED = 0, CSMODE_ENABLED = 1 }
 State of client / server. More...
 
enum  tMuxHWType {
  xxx_MUX_UNREACHABLE = 0xFC, xxx_MUX_SIMU = 0xFD, xxx_MUX_UNKNOWN = 0xFE, PCI_MUX_DEMO = 0xFF,
  PCI_MUX_C3V2L = 0x00, PCI_MUX_CVL = 0x01, PCI_MUX_CAN = 0x02, PCI_MUX_VAN = 0x03,
  PCI_MUX_MultiCAN = 0x08, USB_MUX_C3VL = 0x10, USB_CL500 = 0x11, USB_MUX_CL = 0x12,
  USB_OBD_EX1 = 0x13, USB_CM = 0x14, USB_MUX_4C2L = 0x18, USB_MUX_4C4IJ = 0x20,
  USB_MUX_DIAG = 0x21, USB_MUX_CV32A = 0x22, USB_MUX_2C2L = 0x23, USB_MUX_DIAG_V2 = 0x24,
  USB_ART_10201 = 0x25, USB_EXXOCLIM = 0x26, USB_MUX_4C4L_FHS = 0x28, USB_MUX_4C4L_MC = 0x29,
  USB_MUX_6C6L = 0x2A, USB_MUX_4C4L = 0x2B, USB_MUX_DIAG_V2_LT = 0x2C, USB_PID = 0x8000
}
 List of types of hardwares. More...
 
enum  tMuxMode { MODE_APPLI = 0, MODE_KERNEL = 1, MODE_DEMO = 2, MODE_MUXTRACE = 3 }
 Applicaiton mode. More...
 
enum  tMuxStatus {
  STATUS_OK = 1, STATUS_ERR_OPEN = 2, STATUS_ERR_OPENKP = 3, STATUS_ERR_MEMORY = 4,
  STATUS_ERR_PARAM = 5, STATUS_ERR_SEQUENCE = 6, STATUS_ERR_BANK = 7, STATUS_ERR_INTERRUPT = 8,
  STATUS_ERR_MSGEXCEED = 9, STATUS_ERR_MSGEXIST = 10, STATUS_ERR_MSGSVC = 11, STATUS_ERR_MSGBUSY = 12,
  STATUS_ERR_TSSOVER = 13, STATUS_ERR_HANDLE = 14, STATUS_ERR_FIFOFULL = 15, STATUS_ERR_BUSOFF = 16,
  STATUS_ERR_FILEDLL = 17, STATUS_ERR_OPENDLL = 18, STATUS_ERR_BOARD = 19, STATUS_WARNING = 20,
  STATUS_ERR_TO_USB = 21, STATUS_ERR_SEQ_USB = 22, STATUS_ERR_PARAM_USB = 23, STATUS_ERR_FLASH = 24,
  STATUS_NOT_SUPPORTED = 25, STATUS_ERR_REGISTER = 26, STATUS_ERR_NWC_OPEN = 27, STATUS_ERR_NWC_BUSY = 28,
  STATUS_ERR_ALREADY_OPEN = 29, STATUS_ERR_FUNCTION = 31, STATUS_ERR_ALIGNMENT = 32, STATUS_ERR_SERVERNOTLOADED = 33,
  STATUS_ERR_TIMEOUT = 34, STATUS_ERR_LICENCE = 35, STATUS_ERR_TOOMANYFILEOPENED = 36, STATUS_ERR_FILEACCESS = 37,
  STATUS_ERR_FILENOTOPENED = 38, STATUS_ERR_NOCFCARD = 39, STATUS_CANCELLED = 40, STATUS_COMMANDE_IN_PROGRESS = 41,
  STATUS_COMMANDE_ALREADY_OPENED = 42, STATUS_ERR_CF_FORMAT = 43, STATUS_ERR_SERVER_TIMEOUT = 44, STATUS_ERR_SERVER_BUSY = 45,
  STATUS_ERR_SERVER_FCTNOTSUPPORTED = 46, STATUS_ERR_NWL_OPEN = 47, STATUS_ERR_NWL_BUSY = 48, STATUS_ERR_NO_DEVICE = 49,
  STATUS_ERR_DEVICE_NOT_OPENED = 50, STATUS_FILE_FOUND = 51, STATUS_ERR_CFCARD_BUSY = 52
}
 List of types of status. More...
 
enum  tMuxTypeEvent {
  EVENT_EMPTY = 0x0, EVENT_ANA_INPUT = 0x0D, EVENT_PWM_INPUT = 0x0E, EVENT_IO_INPUT = 0x0F,
  EVENT_CAN_MSGTX = 0x10, EVENT_CAN_MSGRX = 0x11, EVENT_CAN_ERROR = 0x12, EVENT_CAN_BUSCHANGE = 0x13,
  EVENT_CAN_BUSLOAD = 0x14, EVENT_VAN_MSGTX = 0x20, EVENT_VAN_MSGRX = 0x21, EVENT_VAN_MSGTXERR = 0x22,
  EVENT_VAN_MSGRXERR = 0x23, EVENT_VAN_BUSCHANGE = 0x24, EVENT_VAN_BUSLOAD = 0x25, EVENT_ISO_MSGTX = 0x30,
  EVENT_ISO_MSGRX = 0x31, EVENT_ISO_MSGTXERR = 0x32, EVENT_ISO_MSGRXERR = 0x33, EVENT_ISO_BUSLOAD = 0x34,
  EVENT_ISO_ERROR = 0x35, EVENT_ISO_RXCHAR = 0x36, EVENT_LIN_MSGTX = 0x40, EVENT_LIN_MSGRX = 0x41,
  EVENT_LIN_MSGTXERR = 0x42, EVENT_LIN_MSGRXERR = 0x43, EVENT_LIN_BUSCHANGE = 0x44, EVENT_LIN_BUSLOAD = 0x45,
  EVENT_NWC_MSGTX = 0x50, EVENT_NWC_MSGRX = 0x51, EVENT_NWC_MSGTXERR = 0x52, EVENT_NWC_MSGRXERR = 0x53,
  EVENT_NWC_MSGRXFF = 0x54, EVENT_NWC_MSGTXFF = 0x55, EVENT_J1587_MSGTX = 0x60, EVENT_J1587_MSGRX = 0x61,
  EVENT_J1587_BUSCHANGE = 0x62, EVENT_J1587_BUSLOAD = 0x63, EVENT_NMEA0183_MSGTX = 0x70, EVENT_NMEA0183_MSGRX = 0x71,
  EVENT_NMEA0183_MSGTXERR = 0x72, EVENT_NMEA0183_MSGRXERR = 0x73, EVENT_NMEA0183_BUSCHANGE = 0x74, EVENT_NMEA0183_BUSLOAD = 0x75,
  EVENT_WINCE_BATTSTATE = 0x80, EVENT_WINCE_POWERDOWN = 0x81, EVENT_WINCE_POWERRESUME = 0x82, EVENT_WINCE_DRIVERUNLOADED = 0x83,
  EVENT_J18_MSGTX = 0x90, EVENT_J18_MSGRX = 0x91, EVENT_J18_MSGRXERR = 0x92, EVENT_PRY_MSGTX = 0xA0,
  EVENT_PRY_MSGRX = 0xA1, EVENT_NWL_MSGTX = 0xB0, EVENT_NWL_MSGRX = 0xB1, EVENT_NWL_MSGTXERR = 0xB2,
  EVENT_NWL_MSGRXERR = 0xB3, EVENT_NWL_MSGRXFF = 0xB4, EVENT_NWL_MSGTXFF = 0xB5, EVENT_J19_MSGTX = 0xC0,
  EVENT_J19_MSGRX = 0xC1, EVENT_J19_MSGTXERR = 0xC2, EVENT_J19_MSGRXERR = 0xC3, EVENT_J19_MSGRXFF = 0xC4,
  EVENT_J19_MSGTXFF = 0xC5, EVENT_TIMER = 0x100, EVENT_TIMEERROR = 0x101, EVENT_TRIGGER = 0x200,
  EVENT_INTERNAL = 0x201, EVENT_SYS_USBDEVICELOST = 0x300, EVENT_SYS_WIFIDEVICELOST = 0x301, EVENT_FIFO_OVF = 0x8000
}
 List of types of events. More...
 
enum  tUartDataBit {
  FIVE_DATA_BIT = 0, SIX_DATA_BIT = 1, SEVEN_DATA_BIT = 2, EIGHT_DATA_BIT = 3,
  NINE_DATA_BIT = 4
}
 Possibility of numbers of Uart data bits. More...
 
enum  tUartParity { NO_PARITY = 0, ODD_PARITY = 1, EVEN_PARITY = 2 }
 Types of Uart parity. More...
 
enum  tUartStopBit { ONE_STOP_BIT = 0, TWO_STOP_BIT = 1 }
 Possibility of numbers of Uart stop bits. More...
 

Detailed Description

Enumeration Type Documentation

◆ tETHState

enum tETHState

State of Ethernet.

Enumerator
ETH_Disabled 

Disabled

ETH_Enabled 

Enabled

◆ tMuxCSMode

enum tMuxCSMode

State of client / server.

Enumerator
CSMODE_DISABLED 

Disabled

CSMODE_ENABLED 

Enabled

◆ tMuxHWType

enum tMuxHWType

List of types of hardwares.

Enumerator
xxx_MUX_UNREACHABLE 

Card unreachable

xxx_MUX_SIMU 

Card simulator

xxx_MUX_UNKNOWN 

Unknown

PCI_MUX_DEMO 

No card

PCI_MUX_C3V2L 

PCI board 1 CAN, 3 VAN and 2 ISO9141/LIN channels

PCI_MUX_CVL 

PCI board 1 CAN, 1 VAN and 1 ISO9141/LIN channels

PCI_MUX_CAN 

PCI board 1 CAN channel

PCI_MUX_VAN 

PCI board 1 VAN channel

PCI_MUX_MultiCAN 

PCI board 4 CAN channels

USB_MUX_C3VL 

USB board 1 CAN, 3 VAN and 1 LIN channel

USB_CL500 

USB board 1 CAN, 1 ISO9141 channel

USB_MUX_CL 

USB board 1 CAN channel and 1 LIN channel

USB_OBD_EX1 

USB board 1 CAN, 1 ISO9141 channel

USB_CM 

USB board 1 CAN, 1 ISO9141 channel

USB_MUX_4C2L 

USB board 4 CAN channels and 2 LIN channels

USB_MUX_4C4IJ 

USB board 4 CAN, 4 ISO9141 and 1 J1587 channel

USB_MUX_DIAG 

USB board 2 CAN and 4 ISO9141 channels

USB_MUX_CV32A 

USB board 1 CAN, 1 VAN, & ISO9141 channels and 32 analog channels

USB_MUX_2C2L 

USB/WIFI board 2 CAN, 2 ISO9141/LIN

USB_MUX_DIAG_V2 

USB/WIFI board 2 CAN, 4 ISO9141/LIN and 2 J1850 channels

USB_ART_10201 

USB board 1 CAN, 3 ISO9141 channels

USB_EXXOCLIM 

EXXOClim

USB_MUX_4C4L_FHS 

USB board 4 CAN, 4 ISO9141 (HighSpeed)

USB_MUX_4C4L_MC 

USB board 4 CAN, 4 ISO9141 (MixedCAN)

USB_MUX_6C6L 

USB/ETHERNET board 6 CAN 6 ISO9141/LIN

USB_MUX_4C4L 

USB board 4 CAN 4 ISO9141/LIN

USB_MUX_DIAG_V2_LT 

USB board 1 CAN et 1 ISO9141/LIN

USB_PID 

Identifiant du périphérique USB

◆ tMuxMode

enum tMuxMode

Applicaiton mode.

Enumerator
MODE_APPLI 

Application

MODE_KERNEL 

Kernel

MODE_DEMO 

Demonstration

MODE_MUXTRACE 

MuxTrace

◆ tMuxStatus

enum tMuxStatus

List of types of status.

Enumerator
STATUS_OK 

OK

STATUS_ERR_OPEN 

Denies access to board

STATUS_ERR_OPENKP 

Denies access to the kernel driver

STATUS_ERR_MEMORY 

Not enough memory

STATUS_ERR_PARAM 

Input parameters error

STATUS_ERR_SEQUENCE 

Sequence error

STATUS_ERR_BANK 

Denies access to Memory bank

STATUS_ERR_INTERRUPT 

Error while allocating interrupt

STATUS_ERR_MSGEXCEED 

Message count has exceeded the maximum

STATUS_ERR_MSGEXIST 

Identifier has already been declared

STATUS_ERR_MSGSVC 

Service message is not supported

STATUS_ERR_MSGBUSY 

Message is already transmitted (buffer mode only)

STATUS_ERR_TSSOVER 

Memory or channel count has reached

STATUS_ERR_HANDLE 

Invalid message handle

STATUS_ERR_FIFOFULL 

FIFO transmission is full

STATUS_ERR_BUSOFF 

Bus off

STATUS_ERR_FILEDLL 

DLL file error

STATUS_ERR_OPENDLL 

DLL call error

STATUS_ERR_BOARD 

Board is not supported by DLL

STATUS_WARNING 

Avertissement, fonction non supportée

STATUS_ERR_TO_USB 

USB communication error

STATUS_ERR_SEQ_USB 

USB sequence error

STATUS_ERR_PARAM_USB 

USB parameter error

STATUS_ERR_FLASH 

USB flash error

STATUS_NOT_SUPPORTED 

Not supported function

STATUS_ERR_REGISTER 

No registered function

STATUS_ERR_NWC_OPEN 

NWC channel open error

STATUS_ERR_NWC_BUSY 

NWC channel is busy

STATUS_ERR_ALREADY_OPEN 

Device already open

STATUS_ERR_FUNCTION 

Function error

STATUS_ERR_ALIGNMENT 

Alignment error

STATUS_ERR_SERVERNOTLOADED 

Server is not loaded

STATUS_ERR_TIMEOUT 

Timeout has occured

STATUS_ERR_LICENCE 

Expired licence

STATUS_ERR_TOOMANYFILEOPENED 

Too many files are opened on the flash

STATUS_ERR_FILEACCESS 

Can't access to file

STATUS_ERR_FILENOTOPENED 

File not opened

STATUS_ERR_NOCFCARD 

No compact card flash

STATUS_CANCELLED 

Cancelled

STATUS_COMMANDE_IN_PROGRESS 

Order in progress

STATUS_COMMANDE_ALREADY_OPENED 

Order is already opened

STATUS_ERR_CF_FORMAT 

Format error of flash compact card

STATUS_ERR_SERVER_TIMEOUT 

Server timeout

STATUS_ERR_SERVER_BUSY 

The server is busy

STATUS_ERR_SERVER_FCTNOTSUPPORTED 

Not supported in server mode

STATUS_ERR_NWL_OPEN 

NWL channel open error

STATUS_ERR_NWL_BUSY 

NWL channel is busy

STATUS_ERR_NO_DEVICE 

No connected device

STATUS_ERR_DEVICE_NOT_OPENED 

Device not opened

STATUS_FILE_FOUND 

File found (datalogger)

STATUS_ERR_CFCARD_BUSY 

Card is busy (datalogger)

◆ tMuxTypeEvent

List of types of events.

Enumerator
EVENT_EMPTY 

No event

EVENT_ANA_INPUT 

Input ANA information

EVENT_PWM_INPUT 

Input PWM information

EVENT_IO_INPUT 

Input edge detected

EVENT_CAN_MSGTX 

End of transmission of a message

EVENT_CAN_MSGRX 

Reception of a message

EVENT_CAN_ERROR 

Bus error

EVENT_CAN_BUSCHANGE 

Chip state has changed

EVENT_CAN_BUSLOAD 

Bus load information

EVENT_VAN_MSGTX 

End of transmission of a message

EVENT_VAN_MSGRX 

Reception of a message

EVENT_VAN_MSGTXERR 

Error on end of transmission

EVENT_VAN_MSGRXERR 

Error on reception

EVENT_VAN_BUSCHANGE 

Change line reception

EVENT_VAN_BUSLOAD 

Bus load information

EVENT_ISO_MSGTX 

End of transmission of a message

EVENT_ISO_MSGRX 

Reception of a message

EVENT_ISO_MSGTXERR 

Error on end of transmission

EVENT_ISO_MSGRXERR 

Error on reception

EVENT_ISO_BUSLOAD 

Bus load information

EVENT_ISO_ERROR 

Bus error

EVENT_ISO_RXCHAR 

Character has been received

EVENT_LIN_MSGTX 

End of transmission of a message

EVENT_LIN_MSGRX 

Reception of a message

EVENT_LIN_MSGTXERR 

Error on end of transmission

EVENT_LIN_MSGRXERR 

Error on reception

EVENT_LIN_BUSCHANGE 

Change line reception

EVENT_LIN_BUSLOAD 

Bus load information

EVENT_NWC_MSGTX 

End of transmission of a message

EVENT_NWC_MSGRX 

Reception of a message

EVENT_NWC_MSGTXERR 

Error on end of transmission

EVENT_NWC_MSGRXERR 

Error on reception

EVENT_NWC_MSGRXFF 

First frame reception

EVENT_NWC_MSGTXFF 

First frame transmission

EVENT_J1587_MSGTX 

End of transmission of a message

EVENT_J1587_MSGRX 

Reception of a message

EVENT_J1587_BUSCHANGE 

Change line reception

EVENT_J1587_BUSLOAD 

Bus load information

EVENT_NMEA0183_MSGTX 

End of transmission of a message

EVENT_NMEA0183_MSGRX 

Reception of a message

EVENT_NMEA0183_MSGTXERR 

Error on end of transmission

EVENT_NMEA0183_MSGRXERR 

Error on reception

EVENT_NMEA0183_BUSCHANGE 

Change line reception

EVENT_NMEA0183_BUSLOAD 

Bus load information

EVENT_WINCE_BATTSTATE 

Battery state information

EVENT_WINCE_POWERDOWN 

Power is going down

EVENT_WINCE_POWERRESUME 

Power is going up

EVENT_WINCE_DRIVERUNLOADED 

muxdll.dll has been unload

EVENT_J18_MSGTX 

End of transmission of a message

EVENT_J18_MSGRX 

Reception of a message

EVENT_J18_MSGRXERR 

Error on reception

EVENT_PRY_MSGTX 

End of transmission of a message

EVENT_PRY_MSGRX 

Reception of a message

EVENT_NWL_MSGTX 

End of transmission of a message

EVENT_NWL_MSGRX 

Reception of a message

EVENT_NWL_MSGTXERR 

Error on end of transmission

EVENT_NWL_MSGRXERR 

Error on reception

EVENT_NWL_MSGRXFF 

First frame reception

EVENT_NWL_MSGTXFF 

First frame transmission

EVENT_J19_MSGTX 

End of transmission of a message

EVENT_J19_MSGRX 

Reception of a message

EVENT_J19_MSGTXERR 

Error on end of transmission

EVENT_J19_MSGRXERR 

Error on reception

EVENT_J19_MSGRXFF 

First frame reception

EVENT_J19_MSGTXFF 

First frame transmission

EVENT_TIMER 

Application timer

EVENT_TIMEERROR 

Time error detection

EVENT_TRIGGER 

Trigger event

EVENT_INTERNAL 

Internal event

EVENT_SYS_USBDEVICELOST 

We lost the usb device link

EVENT_SYS_WIFIDEVICELOST 

We lost the wifi device link

EVENT_FIFO_OVF 

Message lost: fifo overflow

◆ tUartDataBit

Possibility of numbers of Uart data bits.

Enumerator
FIVE_DATA_BIT 

5 data bits

SIX_DATA_BIT 

6 data bits

SEVEN_DATA_BIT 

7 data bits

EIGHT_DATA_BIT 

8 data bits

NINE_DATA_BIT 

9 data bits

◆ tUartParity

Types of Uart parity.

Enumerator
NO_PARITY 

Disabled

ODD_PARITY 

Odd parity

EVEN_PARITY 

Even parity

◆ tUartStopBit

Possibility of numbers of Uart stop bits.

Enumerator
ONE_STOP_BIT 

1 stop bit

TWO_STOP_BIT 

2 stop bit