CAN – Ethernet Gateway
84
©
SYS TEC electronic GmbH 2007 L-1032e_9
7.3.3
Error Code Description
The functions of the EthCan.Dll return an error code in the form of a
DWORD. Every return value corresponds to an error. All error codes
and their numerical values are listed in the following table.
error code
numerical value
ETHCAN_SUCCESSFUL 0x0
ETHCAN_ERR_ILLPARAM 0x1
ETHCAN_ERR_ILLPARAMVAL 0x2
ETHCAN_ERR_ILLHANDLE 0x3
ETHCAN_ERR_HWNOINIT 0x4
ETHCAN_ERR_HWINUSE 0x5
ETHCAN_ERR_HWNOTCONNECTED 0x6
ETHCAN_ERR_HWCONNECT_FAILED 0x7
ETHCAN_ERR_HWDISCONNECT_FAILED
0x8
ETHCAN_ERR_MAXMODULES 0x9
ETHCAN_ERR_SAL 0xA
ETHCAN_ERR_IFBTP 0xB
ETHCAN_ERR_RESOURCE 0xC
Table 11:
EthCan.Dll Interface Function Error Codes
ETHCAN_SUCCESSFUL
The function was executed without errors.
ETHCAN_ERR_ILLPARAM
An illegal parameter was passed to the function. The most probable
cause for this error is passing of a NULL pointer.
ETHCAN_ERR_ILLPARAMVAL
An invalid parameter value was passed to the function.
Summary of Contents for GW-003
Page 5: ...Contents SYS TEC electronic GmbH 2007 L 1032e_9 Index 97 ...
Page 8: ...CAN Ethernet Gateway SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 14: ...CAN Ethernet Gateway 6 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 56: ...CAN Ethernet Gateway 48 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 66: ...CAN Ethernet Gateway 58 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 100: ...CAN Ethernet Gateway 92 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 108: ...Published by SYS TEC electronic GmbH 2007 Ordering No L 1032e_9 Printed in Germany ...