150 # define canINVALID_HANDLE (-1) 190 #define canWANT_EXCLUSIVE 0x0008 191 #define canWANT_EXTENDED 0x0010 192 #define canWANT_VIRTUAL 0x0020 199 #define canOPEN_EXCLUSIVE 0x0008 212 #define canOPEN_REQUIRE_EXTENDED 0x0010 221 # define canOPEN_ACCEPT_VIRTUAL 0x0020 231 # define canOPEN_OVERRIDE_EXCLUSIVE 0x0040 249 # define canOPEN_REQUIRE_INIT_ACCESS 0x0080 262 # define canOPEN_NO_INIT_ACCESS 0x0100 275 # define canOPEN_ACCEPT_LARGE_DLC 0x0200 // DLC can be greater than 8 283 # define canOPEN_CAN_FD 0x0400 298 # define canOPEN_CAN_FD_NONISO 0x0800 304 # define canOPEN_INTERNAL_L 0x1000 317 #define canFILTER_ACCEPT 1 318 #define canFILTER_REJECT 2 320 #define canFILTER_SET_CODE_STD 3 322 #define canFILTER_SET_MASK_STD 4 324 #define canFILTER_SET_CODE_EXT 5 326 #define canFILTER_SET_MASK_EXT 6 328 #define canFILTER_NULL_MASK 0L 345 #define canDRIVER_NORMAL 4 353 #define canDRIVER_SILENT 1 358 #define canDRIVER_SELFRECEPTION 8 363 #define canDRIVER_OFF 0 387 #define canBITRATE_1M (-1) 389 #define canBITRATE_500K (-2) 391 #define canBITRATE_250K (-3) 393 #define canBITRATE_125K (-4) 395 #define canBITRATE_100K (-5) 397 #define canBITRATE_62K (-6) 399 #define canBITRATE_50K (-7) 401 #define canBITRATE_83K (-8) 403 #define canBITRATE_10K (-9) 409 #define canFD_BITRATE_500K_80P (-1000) 413 #define canFD_BITRATE_1M_80P (-1001) 417 #define canFD_BITRATE_2M_80P (-1002) 421 #define canFD_BITRATE_4M_80P (-1003) 425 #define canFD_BITRATE_8M_60P (-1004) 430 #define BAUD_500K (-2) 432 #define BAUD_250K (-3) 434 #define BAUD_125K (-4) 436 #define BAUD_100K (-5) 438 #define BAUD_62K (-6) 440 #define BAUD_50K (-7) 442 #define BAUD_83K (-8) 608 unsigned int syncmode);
643 unsigned int tseg1_brs,
644 unsigned int tseg2_brs,
645 unsigned int sjw_brs);
684 unsigned int *noSamp,
685 unsigned int *syncmode);
712 unsigned int *tseg1_brs,
713 unsigned int *tseg2_brs,
714 unsigned int *sjw_brs);
740 const unsigned int drivertype);
777 unsigned int *drivertype);
821 const unsigned int flag);
847 unsigned long *
const flags);
888 unsigned int *ovErr);
1022 unsigned long *
time);
1078 unsigned long *time,
1079 unsigned long timeout);
1133 unsigned int * dlc,
unsigned int * flag,
1134 unsigned long * time);
1201 unsigned long timeout);
1252 unsigned int * flag,
1253 unsigned long * time);
1277 unsigned int notifyFlags,
1330 unsigned int *
const tseg1,
1331 unsigned int *
const tseg2,
1332 unsigned int *
const sjw,
1333 unsigned int *
const nosamp,
1334 unsigned int *
const syncMode);
1423 unsigned int buflen);
1520 #define kvREMOTE_TYPE_NOT_REMOTE 0 1521 #define kvREMOTE_TYPE_WLAN 1 1522 #define kvREMOTE_TYPE_LAN 2 1532 #define kvLOGGER_TYPE_NOT_A_LOGGER 0 1533 #define kvLOGGER_TYPE_V1 1 1534 #define kvLOGGER_TYPE_V2 2 1567 canStatus CANLIBAPI canGetChannelData (int channel, 1590 #define canCHANNELDATA_CHANNEL_CAP 1 1601 #define canCHANNELDATA_TRANS_CAP 2 1609 #define canCHANNELDATA_CHANNEL_FLAGS 3 // available, etc 1619 #define canCHANNELDATA_CARD_TYPE 4 1630 #define canCHANNELDATA_CARD_NUMBER 5 1639 #define canCHANNELDATA_CHAN_NO_ON_CARD 6 1650 #define canCHANNELDATA_CARD_SERIAL_NO 7 1661 #define canCHANNELDATA_TRANS_SERIAL_NO 8 1673 #define canCHANNELDATA_CARD_FIRMWARE_REV 9 1685 #define canCHANNELDATA_CARD_HARDWARE_REV 10 1696 #define canCHANNELDATA_CARD_UPC_NO 11 1708 #define canCHANNELDATA_TRANS_UPC_NO 12 1725 #define canCHANNELDATA_CHANNEL_NAME 13 1742 # define canCHANNELDATA_DLL_FILE_VERSION 14 1759 # define canCHANNELDATA_DLL_PRODUCT_VERSION 15 1776 # define canCHANNELDATA_DLL_FILETYPE 16 1786 # define canCHANNELDATA_TRANS_TYPE 17 1811 # define canCHANNELDATA_DEVICE_PHYSICAL_POSITION 18 1825 # define canCHANNELDATA_UI_NUMBER 19 1850 # define canCHANNELDATA_TIMESYNC_ENABLED 20 1866 # define canCHANNELDATA_DRIVER_FILE_VERSION 21 1882 # define canCHANNELDATA_DRIVER_PRODUCT_VERSION 22 1892 # define canCHANNELDATA_MFGNAME_UNICODE 23 1901 # define canCHANNELDATA_MFGNAME_ASCII 24 1911 # define canCHANNELDATA_DEVDESCR_UNICODE 25 1920 # define canCHANNELDATA_DEVDESCR_ASCII 26 1932 # define canCHANNELDATA_DRIVER_NAME 27 1946 # define canCHANNELDATA_CHANNEL_QUALITY 28 1956 # define canCHANNELDATA_ROUNDTRIP_TIME 29 1966 # define canCHANNELDATA_BUS_TYPE 30 1979 # define canCHANNELDATA_DEVNAME_ASCII 31 1991 # define canCHANNELDATA_TIME_SINCE_LAST_SEEN 32 2002 # define canCHANNELDATA_REMOTE_OPERATIONAL_MODE 33 2012 # define canCHANNELDATA_REMOTE_PROFILE_NAME 34 2022 # define canCHANNELDATA_REMOTE_HOST_NAME 35 2032 # define canCHANNELDATA_REMOTE_MAC 36 2042 # define canCHANNELDATA_MAX_BITRATE 37 2054 # define canCHANNELDATA_CHANNEL_CAP_MASK 38 2065 # define canCHANNELDATA_IS_REMOTE 40 2075 # define canCHANNELDATA_REMOTE_TYPE 41 2085 # define canCHANNELDATA_LOGGER_TYPE 42 2096 # define canCHANNELDATA_HW_STATUS 43 2107 # define canCHANNELDATA_FEATURE_EAN 44 2117 #define canCHANNELDATA_CUST_CHANNEL_NAME 39 2132 #define canCHANNEL_IS_EXCLUSIVE 0x0001 2135 #define canCHANNEL_IS_OPEN 0x0002 2139 #define canCHANNEL_IS_CANFD 0x0004 2145 #define canCHANNEL_IS_LIN 0x0010 2149 #define canCHANNEL_IS_LIN_MASTER 0x0020 2153 #define canCHANNEL_IS_LIN_SLAVE 0x0040 2174 #define canHWTYPE_NONE 0 2175 #define canHWTYPE_VIRTUAL 1 2176 #define canHWTYPE_LAPCAN 2 2177 #define canHWTYPE_CANPARI 3 2178 #define canHWTYPE_PCCAN 8 2179 #define canHWTYPE_PCICAN 9 2180 #define canHWTYPE_USBCAN 11 2181 #define canHWTYPE_PCICAN_II 40 2182 #define canHWTYPE_USBCAN_II 42 2183 #define canHWTYPE_SIMULATED 44 2184 #define canHWTYPE_ACQUISITOR 46 2185 #define canHWTYPE_LEAF 48 2186 #define canHWTYPE_PC104_PLUS 50 2187 #define canHWTYPE_PCICANX_II 52 2188 #define canHWTYPE_MEMORATOR_II 54 2189 #define canHWTYPE_MEMORATOR_PRO 54 2190 #define canHWTYPE_USBCAN_PRO 56 2191 #define canHWTYPE_IRIS 58 2192 #define canHWTYPE_BLACKBIRD 58 2193 #define canHWTYPE_MEMORATOR_LIGHT 60 2194 #define canHWTYPE_MINIHYDRA 62 2195 #define canHWTYPE_EAGLE 62 2196 #define canHWTYPE_BAGEL 64 2197 #define canHWTYPE_BLACKBIRD_V2 64 2198 #define canHWTYPE_MINIPCIE 66 2199 #define canHWTYPE_USBCAN_KLINE 68 2200 #define canHWTYPE_ETHERCAN 70 2201 #define canHWTYPE_USBCAN_LIGHT 72 2202 #define canHWTYPE_USBCAN_PRO2 74 2203 #define canHWTYPE_PCIE_V2 76 2204 #define canHWTYPE_MEMORATOR_PRO2 78 2205 #define canHWTYPE_LEAF2 80 2206 #define canHWTYPE_MEMORATOR_V2 82 2207 #define canHWTYPE_CANLINHYBRID 84 2218 #define canCHANNEL_CAP_EXTENDED_CAN 0x00000001L 2219 #define canCHANNEL_CAP_BUS_STATISTICS 0x00000002L 2220 #define canCHANNEL_CAP_ERROR_COUNTERS 0x00000004L 2221 #define canCHANNEL_CAP_RESERVED_2 0x00000008L 2222 #define canCHANNEL_CAP_GENERATE_ERROR 0x00000010L 2223 #define canCHANNEL_CAP_GENERATE_OVERLOAD 0x00000020L 2224 #define canCHANNEL_CAP_TXREQUEST 0x00000040L 2225 #define canCHANNEL_CAP_TXACKNOWLEDGE 0x00000080L 2226 #define canCHANNEL_CAP_VIRTUAL 0x00010000L 2227 #define canCHANNEL_CAP_SIMULATED 0x00020000L 2228 #define canCHANNEL_CAP_RESERVED_1 0x00040000L 2229 #define canCHANNEL_CAP_CAN_FD 0x00080000L 2230 #define canCHANNEL_CAP_CAN_FD_NONISO 0x00100000L 2231 #define canCHANNEL_CAP_SILENT_MODE 0x00200000L 2232 #define canCHANNEL_CAP_SINGLE_SHOT 0x00400000L 2233 #define canCHANNEL_CAP_LOGGER 0x00800000L 2234 #define canCHANNEL_CAP_REMOTE_ACCESS 0x01000000L 2235 #define canCHANNEL_CAP_SCRIPT 0x02000000L 2236 #define canCHANNEL_CAP_DIAGNOSTICS 0x10000000L 2250 #define canCHANNEL_OPMODE_NONE 1 2255 #define canCHANNEL_OPMODE_INFRASTRUCTURE 2 2260 #define canCHANNEL_OPMODE_RESERVED 3 2265 #define canCHANNEL_OPMODE_ADHOC 4 2276 #define canDRIVER_CAP_HIGHSPEED 0x00000001L 2302 #define canIOCTL_PREFER_EXT 1 2316 #define canIOCTL_PREFER_STD 2 2333 #define canIOCTL_CLEAR_ERROR_COUNTERS 5 2345 #define canIOCTL_SET_TIMER_SCALE 6 2362 #define canIOCTL_SET_TXACK 7 2376 #define canIOCTL_GET_RX_BUFFER_LEVEL 8 2390 #define canIOCTL_GET_TX_BUFFER_LEVEL 9 2401 #define canIOCTL_FLUSH_RX_BUFFER 10 2412 #define canIOCTL_FLUSH_TX_BUFFER 11 2422 #define canIOCTL_GET_TIMER_SCALE 12 2435 #define canIOCTL_SET_TXRQ 13 2444 #define canIOCTL_SET_BYPASS_MODE 15 2451 #define canIOCTL_SET_WAKEUP 16 2462 # define canIOCTL_GET_DRIVERHANDLE 17 2469 # define canIOCTL_MAP_RXQUEUE 18 2476 # define canIOCTL_GET_WAKEUP 19 2489 # define canIOCTL_SET_REPORT_ACCESS_ERRORS 20 2498 # define canIOCTL_GET_REPORT_ACCESS_ERRORS 21 2509 # define canIOCTL_CONNECT_TO_VIRTUAL_BUS 22 2520 # define canIOCTL_DISCONNECT_FROM_VIRTUAL_BUS 23 2531 # define canIOCTL_SET_USER_IOPORT 24 2543 # define canIOCTL_GET_USER_IOPORT 25 2550 # define canIOCTL_SET_BUFFER_WRAPAROUND_MODE 26 2568 # define canIOCTL_SET_RX_QUEUE_SIZE 27 2575 # define canIOCTL_SET_USB_THROTTLE 28 2582 # define canIOCTL_GET_USB_THROTTLE 29 2594 # define canIOCTL_SET_BUSON_TIME_AUTO_RESET 30 2607 # define canIOCTL_GET_TXACK 31 2623 # define canIOCTL_SET_LOCAL_TXECHO 32 2637 # define canIOCTL_SET_ERROR_FRAMES_REPORTING 33 2652 # define canIOCTL_GET_CHANNEL_QUALITY 34 2663 # define canIOCTL_GET_ROUNDTRIP_TIME 35 2673 # define canIOCTL_GET_BUS_TYPE 36 2687 # define canIOCTL_GET_DEVNAME_ASCII 37 2700 # define canIOCTL_GET_TIME_SINCE_LAST_SEEN 38 2715 # define canIOCTL_GET_TREF_LIST 39 2738 # define canIOCTL_TX_INTERVAL 40 2751 # define canIOCTL_SET_BRLIMIT 43 2768 # define canIOCTL_SET_THROTTLE_SCALED 41 2785 # define canIOCTL_GET_THROTTLE_SCALED 42 2793 # define canIOCTL_RESET_OVERRUN_COUNT 44 2803 # define canIOCTL_LIN_MODE 45 2951 #define canVERSION_CANLIB32_VERSION 0 2963 #define canVERSION_CANLIB32_PRODVER 1 2976 #define canVERSION_CANLIB32_PRODVER32 2 2988 #define canVERSION_CANLIB32_BETA 3 3063 #define canOBJBUF_TYPE_AUTO_RESPONSE 0x01 3064 #define canOBJBUF_TYPE_PERIODIC_TX 0x02 3087 canStatus CANLIBAPI canObjBufFree (const CanHandle hnd, int idx); 3121 unsigned int flags);
3176 unsigned int flags);
3195 # define canOBJBUF_AUTO_RESPONSE_RTR_ONLY 0x01 3220 unsigned int period);
3244 unsigned int count);
3313 unsigned int burstlen);
3383 unsigned long timeout);
3536 #define kvLED_ACTION_ALL_LEDS_ON 0 3537 #define kvLED_ACTION_ALL_LEDS_OFF 1 3538 #define kvLED_ACTION_LED_0_ON 2 3539 #define kvLED_ACTION_LED_0_OFF 3 3540 #define kvLED_ACTION_LED_1_ON 4 3541 #define kvLED_ACTION_LED_1_OFF 5 3542 #define kvLED_ACTION_LED_2_ON 6 3543 #define kvLED_ACTION_LED_2_OFF 7 3544 #define kvLED_ACTION_LED_3_ON 8 3545 #define kvLED_ACTION_LED_3_OFF 9 3546 #define kvLED_ACTION_LED_4_ON 10 3547 #define kvLED_ACTION_LED_4_OFF 11 3548 #define kvLED_ACTION_LED_5_ON 12 3549 #define kvLED_ACTION_LED_5_OFF 13 3550 #define kvLED_ACTION_LED_6_ON 14 3551 #define kvLED_ACTION_LED_6_OFF 15 3552 #define kvLED_ACTION_LED_7_ON 16 3553 #define kvLED_ACTION_LED_7_OFF 17 3554 #define kvLED_ACTION_LED_8_ON 18 3555 #define kvLED_ACTION_LED_8_OFF 19 3556 #define kvLED_ACTION_LED_9_ON 20 3557 #define kvLED_ACTION_LED_9_OFF 21 3558 #define kvLED_ACTION_LED_10_ON 22 3559 #define kvLED_ACTION_LED_10_OFF 23 3560 #define kvLED_ACTION_LED_11_ON 24 3561 #define kvLED_ACTION_LED_11_OFF 25 3934 unsigned int notifyFlags);
3949 #define kvBUSTYPE_NONE 0 3955 #define kvBUSTYPE_PCI 1 3961 #define kvBUSTYPE_PCMCIA 2 3967 #define kvBUSTYPE_USB 3 3973 #define kvBUSTYPE_WLAN 4 3979 #define kvBUSTYPE_PCI_EXPRESS 5 3985 #define kvBUSTYPE_ISA 6 3991 #define kvBUSTYPE_VIRTUAL 7 3997 #define kvBUSTYPE_PC104_PLUS 8 4003 #define kvBUSTYPE_LAN 9 4020 #define kvBUSTYPE_GROUP_VIRTUAL 1 4026 #define kvBUSTYPE_GROUP_LOCAL 2 4032 #define kvBUSTYPE_GROUP_REMOTE 3 4037 #define kvBUSTYPE_GROUP_INTERNAL 4 4141 #define kvENVVAR_TYPE_INT 1 4148 #define kvENVVAR_TYPE_FLOAT 2 4155 #define kvENVVAR_TYPE_STRING 3 4172 #define kvEVENT_TYPE_KEY 1 4210 #define kvSCRIPT_STOP_NORMAL 0 4211 #define kvSCRIPT_STOP_FORCED -9 4235 kvStatus CANLIBAPI kvScriptStop (const CanHandle hnd, int slotNo, int mode); 4552 char *filePathOnPC);
4562 #define kvSCRIPT_STATUS_LOADED 1 4563 #define kvSCRIPT_STATUS_RUNNING 2 4586 kvStatus CANLIBAPI kvScriptStatus(const CanHandle hnd, 4644 unsigned int *bufsize);
4671 #define canTXEDATA_FILE_VERSION 1 4688 #define canTXEDATA_COMPILER_VERSION 2 4708 #define canTXEDATA_DATE 3 4720 #define canTXEDATA_DESCRIPTION 4 4735 #define canTXEDATA_SOURCE 5 4746 #define canTXEDATA_SIZE_OF_CODE 6 4757 #define canTXEDATA_IS_ENCRYPTED 7 4787 char *deviceFileName);
4812 char *deviceFileName,
4813 char *hostFileName);
4929 #define kvDEVICE_MODE_INTERFACE 0x00 4935 #define kvDEVICE_MODE_LOGGER 0x01 Definitions which are retained for compatibility.
kvStatus kvScriptEnvvarGetFloat(kvEnvHandle eHnd, float *val)
unsigned long stdRemote
Number of received standard (11-bit identifiers) remote frames.
Definition: canlib.h:3644
canStatus canGetBusParamsFd(const CanHandle hnd, long *freq_brs, unsigned int *tseg1_brs, unsigned int *tseg2_brs, unsigned int *sjw_brs)
canStatus canWriteSync(const CanHandle hnd, unsigned long timeout)
unsigned char busStatus
Definition: canlib.h:171
canStatus canGetBusOutputControl(const CanHandle hnd, unsigned int *drivertype)
kvStatus kvTimeDomainDelete(kvTimeDomain domain)
canStatus canGetDriverMode(const CanHandle hnd, int *lineMode, int *resNet)
struct canNotifyData::@0::@2 rx
void canInitializeLibrary(void)
canStatus canReadStatus(const CanHandle hnd, unsigned long *const flags)
kvStatus kvTimeDomainCreate(kvTimeDomain *domain)
unsigned int portNo
Port number used in e.g. canIOCTL_SET_USER_IOPORT.
Definition: canlib.h:2808
int64_t kvEnvHandle
Definition: canlib.h:4181
int nNonMagiSyncCards
number of non MagiSync™ interfaces
Definition: canlib.h:3722
kvStatus kvScriptEnvvarSetData(kvEnvHandle eHnd, void *buf, int start_index, int data_len)
canStatus canRequestBusStatistics(const CanHandle hnd)
kvStatus kvDeviceSetMode(const CanHandle hnd, int mode)
void * kvTimeDomain
Definition: canlib.h:3710
unsigned char rxErrorCounter
Definition: canlib.h:173
unsigned long extRemote
Number of received extended (29-bit identifiers) remote frames.
Definition: canlib.h:3646
canStatus canClose(const CanHandle hnd)
struct canNotifyData canNotifyData
kvStatus kvFileGetCount(const CanHandle hnd, int *count)
canStatus canTranslateBaud(long *const freq, unsigned int *const tseg1, unsigned int *const tseg2, unsigned int *const sjw, unsigned int *const nosamp, unsigned int *const syncMode)
canStatus canObjBufSetMsgCount(const CanHandle hnd, int idx, unsigned int count)
canStatus kvFlashLeds(const CanHandle hnd, int action, int timeout)
canStatus canSetAcceptanceFilter(const CanHandle hnd, unsigned int code, unsigned int mask, int is_extended)
int canHandle
Definition: canlib.h:148
canStatus canObjBufDisable(const CanHandle hnd, int idx)
void * tag
Definition: canlib.h:156
canStatus canGetBusParams(const CanHandle hnd, long *freq, unsigned int *tseg1, unsigned int *tseg2, unsigned int *sjw, unsigned int *noSamp, unsigned int *syncmode)
kvStatus kvScriptEnvvarGetInt(kvEnvHandle eHnd, int *val)
Definitions for the CANLIB API.
kvStatus kvScriptGetMaxEnvvarSize(int hnd, int *envvarSize)
canStatus canSetBusOutputControl(const CanHandle hnd, const unsigned int drivertype)
int eventType
Definition: canlib.h:157
kvStatus kvFileGetSystemData(const CanHandle hnd, int itemCode, int *result)
kvStatus kvScriptEnvvarSetInt(kvEnvHandle eHnd, int val)
canStatus canObjBufSendBurst(const CanHandle hnd, int idx, unsigned int burstlen)
canStatus canGetRawHandle(const CanHandle hnd, void *pvFd)
unsigned int canGetVersionEx(unsigned int itemCode)
canStatus canBusOn(const CanHandle hnd)
long id
Definition: canlib.h:163
canStatus canWriteWait(const CanHandle hnd, long id, void *msg, unsigned int dlc, unsigned int flag, unsigned long timeout)
kvStatus kvReadDeviceCustomerData(const CanHandle hnd, int userNumber, int itemNumber, void *data, size_t bufsiz)
canStatus canWrite(const CanHandle hnd, long id, void *msg, unsigned int dlc, unsigned int flag)
canStatus canObjBufWrite(const CanHandle hnd, int idx, int id, void *msg, unsigned int dlc, unsigned int flags)
struct kvTimeDomainData_s kvTimeDomainData
kvStatus kvScriptTxeGetData(const char *filePathOnPC, int item, void *buffer, unsigned int *bufsize)
kvStatus kvScriptEnvvarClose(kvEnvHandle eHnd)
canStatus canFlushReceiveQueue(const CanHandle hnd)
kvStatus kvScriptLoadFile(const CanHandle hnd, int slotNo, char *filePathOnPC)
unsigned int portValue
Port value used in e.g. canIOCTL_SET_USER_IOPORT.
Definition: canlib.h:2809
unsigned short canGetVersion(void)
unsigned long errFrame
Number of error frames.
Definition: canlib.h:3647
canStatus canReadWait(const CanHandle hnd, long *id, void *msg, unsigned int *dlc, unsigned int *flag, unsigned long *time, unsigned long timeout)
canStatus canReadSyncSpecific(const CanHandle hnd, long id, unsigned long timeout)
canStatus canFlushTransmitQueue(const CanHandle hnd)
kvStatus kvReadTimer64(const CanHandle hnd, uint64_t *time)
kvStatus kvFileGetName(const CanHandle hnd, int fileNo, char *name, int namelen)
kvStatus kvTimeDomainResetTime(kvTimeDomain domain)
kvStatus kvFileDelete(const CanHandle hnd, char *deviceFileName)
canStatus canAccept(const CanHandle hnd, const long envelope, const unsigned int flag)
CanHandle canOpenChannel(int channel, int flags)
kvStatus kvScriptEnvvarSetFloat(kvEnvHandle eHnd, float val)
unsigned long extData
Number of received extended (29-bit identifiers) data frames.
Definition: canlib.h:3645
kvStatus kvReadTimer(const CanHandle hnd, unsigned int *time)
canStatus canObjBufEnable(const CanHandle hnd, int idx)
kvStatus kvSetNotifyCallback(const CanHandle hnd, kvCallback_t callback, void *context, unsigned int notifyFlags)
kvStatus kvScriptSendEvent(const CanHandle hnd, int slotNo, int eventType, int eventNo, unsigned int data)
kvStatus kvTimeDomainGetData(kvTimeDomain domain, kvTimeDomainData *data, size_t bufsiz)
kvStatus kvScriptStart(const CanHandle hnd, int slotNo)
kvStatus kvTimeDomainRemoveHandle(kvTimeDomain domain, const CanHandle hnd)
canStatus canSetNotify(const CanHandle hnd, void(*callback)(canNotifyData *), unsigned int notifyFlags, void *tag)
unsigned char txErrorCounter
Definition: canlib.h:172
canStatus canObjBufSetFlags(const CanHandle hnd, int idx, unsigned int flags)
kvEnvHandle kvScriptEnvvarOpen(const CanHandle hnd, char *envvarName, int *envvarType, int *envvarSize)
void(* kvCallback_t)(CanHandle hnd, void *context, unsigned int notifyEvent)
Definition: canlib.h:3896
canStatus canSetBusParamsC200(const CanHandle hnd, unsigned char btr0, unsigned char btr1)
int nMagiSyncGroups
number of MagiSync™ groups
Definition: canlib.h:3720
canStatus canReadSpecificSkip(const CanHandle hnd, long id, void *msg, unsigned int *dlc, unsigned int *flag, unsigned long *time)
struct canBusStatistics_s canBusStatistics
canStatus canSetBusParamsFd(const CanHandle hnd, long freq_brs, unsigned int tseg1_brs, unsigned int tseg2_brs, unsigned int sjw_brs)
canStatus
Definition: canstat.h:84
kvStatus kvFileCopyFromDevice(const CanHandle hnd, char *deviceFileName, char *hostFileName)
kvStatus kvDeviceGetMode(const CanHandle hnd, int *result)
canStatus canReadErrorCounters(const CanHandle hnd, unsigned int *txErr, unsigned int *rxErr, unsigned int *ovErr)
unsigned long stdData
Number of received standard (11-bit identifiers) data frames.
Definition: canlib.h:3643
canStatus canSetDriverMode(const CanHandle hnd, int lineMode, int resNet)
unsigned long overruns
The number of overruns detected by the hardware, firmware or driver.
Definition: canlib.h:3654
kvStatus kvTimeDomainAddHandle(kvTimeDomain domain, const CanHandle hnd)
Definition: canlib.h:3719
canStatus canReadTimer(const CanHandle hnd, unsigned long *time)
canStatus canGetBusStatistics(const CanHandle hnd, canBusStatistics *stat, size_t bufsiz)
canStatus canBusOff(const CanHandle hnd)
canStatus canReadSpecific(const CanHandle hnd, long id, void *msg, unsigned int *dlc, unsigned int *flag, unsigned long *time)
canStatus canGetErrorText(canStatus err, char *buf, unsigned int bufsiz)
unsigned long busLoad
Definition: canlib.h:3653
canStatus canRequestChipStatus(const CanHandle hnd)
Definition: canlib.h:3642
kvStatus kvScriptLoadFileOnDevice(const CanHandle hnd, int slotNo, char *localFile)
canStatus canUnloadLibrary(void)
struct canNotifyData::@0::@1 busErr
canHandle CanHandle
Definition: canlib.h:153
canStatus kvStatus
Definition: canlib.h:3713
Definition: canlib.h:2807
union canNotifyData::@0 info
canStatus canResetBus(const CanHandle hnd)
canStatus canObjBufAllocate(const CanHandle hnd, int type)
int nNonMagiSyncedMembers
number of non MagiSync™ members
Definition: canlib.h:3723
canStatus canGetNumberOfChannels(int *channelCount)
canStatus canGetHandleData(const CanHandle hnd, int item, void *buffer, size_t bufsize)
kvStatus kvScriptEnvvarGetData(kvEnvHandle eHnd, void *buf, int start_index, int data_len)
unsigned long time
Definition: canlib.h:160
kvStatus kvFileCopyToDevice(const CanHandle hnd, char *hostFileName, char *deviceFileName)
canStatus canReadSync(const CanHandle hnd, unsigned long timeout)
kvStatus kvScriptUnload(const CanHandle hnd, int slotNo)
canStatus canObjBufSetPeriod(const CanHandle hnd, int idx, unsigned int period)
canStatus canObjBufFreeAll(const CanHandle hnd)
canStatus canIoCtl(const CanHandle hnd, unsigned int func, void *buf, unsigned int buflen)
struct canNotifyData::@0::@4 status
canStatus canSetBusParams(const CanHandle hnd, long freq, unsigned int tseg1, unsigned int tseg2, unsigned int sjw, unsigned int noSamp, unsigned int syncmode)
canStatus canObjBufSetFilter(const CanHandle hnd, int idx, unsigned int code, unsigned int mask)
struct canNotifyData::@0::@3 tx
kvStatus kvGetSupportedInterfaceInfo(int index, char *hwName, size_t nameLen, int *hwType, int *hwBusType)
canStatus canRead(const CanHandle hnd, long *id, void *msg, unsigned int *dlc, unsigned int *flag, unsigned long *time)
int nMagiSyncedMembers
number of MagiSync™ members
Definition: canlib.h:3721