Software
Support
©
SYS TEC electronic GmbH 2007 L-1032e_9
79
Return Values:
(see Section 7.3.3)
ETHCAN_SUCCESSFUL
ETHCAN_ERR_ILLHANDLE
ETHCAN_ERR_ILLPARAM
ETHCAN_ERR_HWNOINIT
ETHCAN_ERR_HWNOTCONNECTED
Application Example:
tEthCanHandle EthCanHandle;
tStatus
Status;
DWORD dwRetcode;
//read CAN-Status
dwRetcode = EthCanGetStatus(EthCanHandle,&Status);
if
(dwRetcode == ETHCAN_SUCCESSFUL)
{
if
(Status.m_wCanStatus & ETHCAN_CANERR_OVERRUN)
{
//Overrun error occurred
}
}
else
{
//Error while reading the CAN status
}
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 ...