Status Codes

Return codes from the j1587 functions. More...

enum  J1587Status {
  j1587OK = 0,
  j1587ERR_NOMSG = -1,
  j1587ERR_NOTRUNNING = -3,
  j1587ERR_RUNNING = -4,
  j1587ERR_NORMALONLY = -5,
  j1587ERR_NODEONLY = -6,
  j1587ERR_PARAM = -7,
  j1587ERR_NOTFOUND = -8,
  j1587ERR_NOMEM = -9,
  j1587ERR_NOCHANNELS = -10,
  j1587ERR_TIMEOUT = -11,
  j1587ERR_NOTINITIALIZED = -12,
  j1587ERR_NOHANDLES = -13,
  j1587ERR_INVHANDLE = -14,
  j1587ERR_CANERROR = -15,
  j1587ERR_ERRRESP = -16,
  j1587ERR_WRONGRESP = -17,
  j1587ERR_DRIVER = -18,
  j1587ERR_DRIVERFAILED = -19,
  j1587ERR_NOCARD = -20,
  j1587ERR_LICENSE = -21,
  j1587ERR_INTERNAL = -22,
  j1587ERR_NO_ACCESS = -23,
  j1587ERR_VERSION = -24
}
 

Detailed Description

Return codes from the j1587 functions.

Enumeration Type Documentation

◆ J1587Status

Enumerator
j1587OK 

OK - no error.

j1587ERR_NOMSG 

No messages available.

j1587ERR_NOTRUNNING 
j1587ERR_RUNNING 
j1587ERR_NORMALONLY 
j1587ERR_NODEONLY 
j1587ERR_PARAM 

Error in parameter.

j1587ERR_NOTFOUND 

Specified hw not found.

j1587ERR_NOMEM 

Out of memory.

j1587ERR_NOCHANNELS 

No channels avaliable.

j1587ERR_TIMEOUT 

Timeout occurred.

j1587ERR_NOTINITIALIZED 

Library not initialized.

j1587ERR_NOHANDLES 

Can't get handle.

j1587ERR_INVHANDLE 

Handle is invalid.

j1587ERR_CANERROR 
j1587ERR_ERRRESP 

There was an error response from the J1587 interface.

j1587ERR_WRONGRESP 

The J1587 interface response wasn't the expected one.

j1587ERR_DRIVER 

CAN driver type not supported.

j1587ERR_DRIVERFAILED 

DeviceIOControl failed; use Win32 GetLastError()

j1587ERR_NOCARD 

The card was removed or not inserted.

j1587ERR_LICENSE 

The license is not valid.

j1587ERR_INTERNAL 

Internal error in the driver.

j1587ERR_NO_ACCESS 

Access denied.

j1587ERR_VERSION 

Function not supported in this version.