157 # define canINVALID_HANDLE (-1) 197 #define canWANT_EXCLUSIVE 0x0008 198 #define canWANT_EXTENDED 0x0010 199 #define canWANT_VIRTUAL 0x0020 214 #define canOPEN_EXCLUSIVE 0x0008 227 #define canOPEN_REQUIRE_EXTENDED 0x0010 236 # define canOPEN_ACCEPT_VIRTUAL 0x0020 246 # define canOPEN_OVERRIDE_EXCLUSIVE 0x0040 264 # define canOPEN_REQUIRE_INIT_ACCESS 0x0080 277 # define canOPEN_NO_INIT_ACCESS 0x0100 290 # define canOPEN_ACCEPT_LARGE_DLC 0x0200 // DLC can be greater than 8 298 # define canOPEN_CAN_FD 0x0400 313 # define canOPEN_CAN_FD_NONISO 0x0800 319 # define canOPEN_INTERNAL_L 0x1000 332 #define canFILTER_ACCEPT 1 333 #define canFILTER_REJECT 2 335 #define canFILTER_SET_CODE_STD 3 337 #define canFILTER_SET_MASK_STD 4 339 #define canFILTER_SET_CODE_EXT 5 341 #define canFILTER_SET_MASK_EXT 6 343 #define canFILTER_NULL_MASK 0L 360 #define canDRIVER_NORMAL 4 368 #define canDRIVER_SILENT 1 373 #define canDRIVER_SELFRECEPTION 8 378 #define canDRIVER_OFF 0 402 #define canBITRATE_1M (-1) 404 #define canBITRATE_500K (-2) 406 #define canBITRATE_250K (-3) 408 #define canBITRATE_125K (-4) 410 #define canBITRATE_100K (-5) 412 #define canBITRATE_62K (-6) 414 #define canBITRATE_50K (-7) 416 #define canBITRATE_83K (-8) 418 #define canBITRATE_10K (-9) 424 #define canFD_BITRATE_500K_80P (-1000) 428 #define canFD_BITRATE_1M_80P (-1001) 432 #define canFD_BITRATE_2M_80P (-1002) 436 #define canFD_BITRATE_4M_80P (-1003) 440 #define canFD_BITRATE_8M_60P (-1004) 445 #define BAUD_500K (-2) 447 #define BAUD_250K (-3) 449 #define BAUD_125K (-4) 451 #define BAUD_100K (-5) 453 #define BAUD_62K (-6) 455 #define BAUD_50K (-7) 457 #define BAUD_83K (-8) 626 unsigned int syncmode);
661 unsigned int tseg1_brs,
662 unsigned int tseg2_brs,
663 unsigned int sjw_brs);
702 unsigned int *noSamp,
703 unsigned int *syncmode);
730 unsigned int *tseg1_brs,
731 unsigned int *tseg2_brs,
732 unsigned int *sjw_brs);
758 const unsigned int drivertype);
795 unsigned int *drivertype);
837 const unsigned int flag);
863 unsigned long *
const flags);
904 unsigned int *ovErr);
1038 unsigned long *
time);
1094 unsigned long *time,
1095 unsigned long timeout);
1149 unsigned int * dlc,
unsigned int * flag,
1150 unsigned long * time);
1217 unsigned long timeout);
1268 unsigned int * flag,
1269 unsigned long * time);
1293 unsigned int notifyFlags,
1346 unsigned int *
const tseg1,
1347 unsigned int *
const tseg2,
1348 unsigned int *
const sjw,
1349 unsigned int *
const nosamp,
1350 unsigned int *
const syncMode);
1439 unsigned int buflen);
1536 #define kvREMOTE_TYPE_NOT_REMOTE 0 1537 #define kvREMOTE_TYPE_WLAN 1 1538 #define kvREMOTE_TYPE_LAN 2 1548 #define kvLOGGER_TYPE_NOT_A_LOGGER 0 1549 #define kvLOGGER_TYPE_V1 1 1550 #define kvLOGGER_TYPE_V2 2 1583 canStatus CANLIBAPI canGetChannelData (int channel, 1606 #define canCHANNELDATA_CHANNEL_CAP 1 1617 #define canCHANNELDATA_TRANS_CAP 2 1627 #define canCHANNELDATA_CHANNEL_FLAGS 3 // available, etc 1637 #define canCHANNELDATA_CARD_TYPE 4 1648 #define canCHANNELDATA_CARD_NUMBER 5 1657 #define canCHANNELDATA_CHAN_NO_ON_CARD 6 1668 #define canCHANNELDATA_CARD_SERIAL_NO 7 1679 #define canCHANNELDATA_TRANS_SERIAL_NO 8 1691 #define canCHANNELDATA_CARD_FIRMWARE_REV 9 1703 #define canCHANNELDATA_CARD_HARDWARE_REV 10 1714 #define canCHANNELDATA_CARD_UPC_NO 11 1726 #define canCHANNELDATA_TRANS_UPC_NO 12 1745 #define canCHANNELDATA_CHANNEL_NAME 13 1762 # define canCHANNELDATA_DLL_FILE_VERSION 14 1779 # define canCHANNELDATA_DLL_PRODUCT_VERSION 15 1796 # define canCHANNELDATA_DLL_FILETYPE 16 1806 # define canCHANNELDATA_TRANS_TYPE 17 1831 # define canCHANNELDATA_DEVICE_PHYSICAL_POSITION 18 1845 # define canCHANNELDATA_UI_NUMBER 19 1870 # define canCHANNELDATA_TIMESYNC_ENABLED 20 1886 # define canCHANNELDATA_DRIVER_FILE_VERSION 21 1902 # define canCHANNELDATA_DRIVER_PRODUCT_VERSION 22 1912 # define canCHANNELDATA_MFGNAME_UNICODE 23 1921 # define canCHANNELDATA_MFGNAME_ASCII 24 1931 # define canCHANNELDATA_DEVDESCR_UNICODE 25 1940 # define canCHANNELDATA_DEVDESCR_ASCII 26 1952 # define canCHANNELDATA_DRIVER_NAME 27 1966 # define canCHANNELDATA_CHANNEL_QUALITY 28 1976 # define canCHANNELDATA_ROUNDTRIP_TIME 29 1986 # define canCHANNELDATA_BUS_TYPE 30 2001 # define canCHANNELDATA_DEVNAME_ASCII 31 2013 # define canCHANNELDATA_TIME_SINCE_LAST_SEEN 32 2024 # define canCHANNELDATA_REMOTE_OPERATIONAL_MODE 33 2034 # define canCHANNELDATA_REMOTE_PROFILE_NAME 34 2044 # define canCHANNELDATA_REMOTE_HOST_NAME 35 2054 # define canCHANNELDATA_REMOTE_MAC 36 2064 # define canCHANNELDATA_MAX_BITRATE 37 2076 # define canCHANNELDATA_CHANNEL_CAP_MASK 38 2087 # define canCHANNELDATA_IS_REMOTE 40 2097 # define canCHANNELDATA_REMOTE_TYPE 41 2107 # define canCHANNELDATA_LOGGER_TYPE 42 2118 # define canCHANNELDATA_HW_STATUS 43 2129 # define canCHANNELDATA_FEATURE_EAN 44 2142 #define canCHANNELDATA_CUST_CHANNEL_NAME 39 2157 #define canCHANNEL_IS_EXCLUSIVE 0x0001 2160 #define canCHANNEL_IS_OPEN 0x0002 2164 #define canCHANNEL_IS_CANFD 0x0004 2170 #define canCHANNEL_IS_LIN 0x0010 2174 #define canCHANNEL_IS_LIN_MASTER 0x0020 2178 #define canCHANNEL_IS_LIN_SLAVE 0x0040 2199 #define canHWTYPE_NONE 0 2200 #define canHWTYPE_VIRTUAL 1 2201 #define canHWTYPE_LAPCAN 2 2202 #define canHWTYPE_CANPARI 3 2203 #define canHWTYPE_PCCAN 8 2204 #define canHWTYPE_PCICAN 9 2205 #define canHWTYPE_USBCAN 11 2206 #define canHWTYPE_PCICAN_II 40 2207 #define canHWTYPE_USBCAN_II 42 2208 #define canHWTYPE_SIMULATED 44 2209 #define canHWTYPE_ACQUISITOR 46 2210 #define canHWTYPE_LEAF 48 2211 #define canHWTYPE_PC104_PLUS 50 2212 #define canHWTYPE_PCICANX_II 52 2213 #define canHWTYPE_MEMORATOR_II 54 2214 #define canHWTYPE_MEMORATOR_PRO 54 2215 #define canHWTYPE_USBCAN_PRO 56 2216 #define canHWTYPE_IRIS 58 2217 #define canHWTYPE_BLACKBIRD 58 2218 #define canHWTYPE_MEMORATOR_LIGHT 60 2219 #define canHWTYPE_MINIHYDRA 62 2220 #define canHWTYPE_EAGLE 62 2221 #define canHWTYPE_BAGEL 64 2222 #define canHWTYPE_BLACKBIRD_V2 64 2223 #define canHWTYPE_MINIPCIE 66 2224 #define canHWTYPE_USBCAN_KLINE 68 2225 #define canHWTYPE_ETHERCAN 70 2226 #define canHWTYPE_USBCAN_LIGHT 72 2227 #define canHWTYPE_USBCAN_PRO2 74 2228 #define canHWTYPE_PCIE_V2 76 2229 #define canHWTYPE_MEMORATOR_PRO2 78 2230 #define canHWTYPE_LEAF2 80 2231 #define canHWTYPE_MEMORATOR_V2 82 2232 #define canHWTYPE_CANLINHYBRID 84 2233 #define canHWTYPE_DINRAIL 86 2244 #define canCHANNEL_CAP_EXTENDED_CAN 0x00000001L 2245 #define canCHANNEL_CAP_BUS_STATISTICS 0x00000002L 2246 #define canCHANNEL_CAP_ERROR_COUNTERS 0x00000004L 2247 #define canCHANNEL_CAP_RESERVED_2 0x00000008L 2248 #define canCHANNEL_CAP_GENERATE_ERROR 0x00000010L 2249 #define canCHANNEL_CAP_GENERATE_OVERLOAD 0x00000020L 2250 #define canCHANNEL_CAP_TXREQUEST 0x00000040L 2251 #define canCHANNEL_CAP_TXACKNOWLEDGE 0x00000080L 2252 #define canCHANNEL_CAP_VIRTUAL 0x00010000L 2253 #define canCHANNEL_CAP_SIMULATED 0x00020000L 2254 #define canCHANNEL_CAP_RESERVED_1 0x00040000L 2255 #define canCHANNEL_CAP_CAN_FD 0x00080000L 2256 #define canCHANNEL_CAP_CAN_FD_NONISO 0x00100000L 2257 #define canCHANNEL_CAP_SILENT_MODE 0x00200000L 2258 #define canCHANNEL_CAP_SINGLE_SHOT 0x00400000L 2259 #define canCHANNEL_CAP_LOGGER 0x00800000L 2260 #define canCHANNEL_CAP_REMOTE_ACCESS 0x01000000L 2261 #define canCHANNEL_CAP_SCRIPT 0x02000000L 2262 #define canCHANNEL_CAP_LIN_HYBRID 0x04000000L 2263 #define canCHANNEL_CAP_IO_API 0x08000000L 2264 #define canCHANNEL_CAP_DIAGNOSTICS 0x10000000L 2278 #define canCHANNEL_OPMODE_NONE 1 2283 #define canCHANNEL_OPMODE_INFRASTRUCTURE 2 2288 #define canCHANNEL_OPMODE_RESERVED 3 2293 #define canCHANNEL_OPMODE_ADHOC 4 2304 #define canDRIVER_CAP_HIGHSPEED 0x00000001L 2331 #define canIOCTL_PREFER_EXT 1 2345 #define canIOCTL_PREFER_STD 2 2363 #define canIOCTL_CLEAR_ERROR_COUNTERS 5 2379 #define canIOCTL_SET_TIMER_SCALE 6 2400 #define canIOCTL_SET_TXACK 7 2414 #define canIOCTL_GET_RX_BUFFER_LEVEL 8 2428 #define canIOCTL_GET_TX_BUFFER_LEVEL 9 2439 #define canIOCTL_FLUSH_RX_BUFFER 10 2450 #define canIOCTL_FLUSH_TX_BUFFER 11 2460 #define canIOCTL_GET_TIMER_SCALE 12 2477 #define canIOCTL_SET_TXRQ 13 2486 #define canIOCTL_SET_BYPASS_MODE 15 2493 #define canIOCTL_SET_WAKEUP 16 2504 # define canIOCTL_GET_DRIVERHANDLE 17 2511 # define canIOCTL_MAP_RXQUEUE 18 2518 # define canIOCTL_GET_WAKEUP 19 2531 # define canIOCTL_SET_REPORT_ACCESS_ERRORS 20 2540 # define canIOCTL_GET_REPORT_ACCESS_ERRORS 21 2551 # define canIOCTL_CONNECT_TO_VIRTUAL_BUS 22 2562 # define canIOCTL_DISCONNECT_FROM_VIRTUAL_BUS 23 2573 # define canIOCTL_SET_USER_IOPORT 24 2585 # define canIOCTL_GET_USER_IOPORT 25 2592 # define canIOCTL_SET_BUFFER_WRAPAROUND_MODE 26 2610 # define canIOCTL_SET_RX_QUEUE_SIZE 27 2617 # define canIOCTL_SET_USB_THROTTLE 28 2624 # define canIOCTL_GET_USB_THROTTLE 29 2640 # define canIOCTL_SET_BUSON_TIME_AUTO_RESET 30 2653 # define canIOCTL_GET_TXACK 31 2669 # define canIOCTL_SET_LOCAL_TXECHO 32 2686 # define canIOCTL_SET_ERROR_FRAMES_REPORTING 33 2701 # define canIOCTL_GET_CHANNEL_QUALITY 34 2714 # define canIOCTL_GET_ROUNDTRIP_TIME 35 2724 # define canIOCTL_GET_BUS_TYPE 36 2738 # define canIOCTL_GET_DEVNAME_ASCII 37 2751 # define canIOCTL_GET_TIME_SINCE_LAST_SEEN 38 2766 # define canIOCTL_GET_TREF_LIST 39 2789 # define canIOCTL_TX_INTERVAL 40 2802 # define canIOCTL_SET_BRLIMIT 43 2809 # define canIOCTL_SET_USB_THROTTLE_SCALED 41 2825 # define canIOCTL_SET_THROTTLE_SCALED 41 2832 # define canIOCTL_GET_USB_THROTTLE_SCALED 42 2848 # define canIOCTL_GET_THROTTLE_SCALED 42 2857 # define canIOCTL_RESET_OVERRUN_COUNT 44 2867 # define canIOCTL_LIN_MODE 45 3014 #define canVERSION_CANLIB32_VERSION 0 3026 #define canVERSION_CANLIB32_PRODVER 1 3039 #define canVERSION_CANLIB32_PRODVER32 2 3051 #define canVERSION_CANLIB32_BETA 3 3126 #define canOBJBUF_TYPE_AUTO_RESPONSE 0x01 3127 #define canOBJBUF_TYPE_PERIODIC_TX 0x02 3150 canStatus CANLIBAPI canObjBufFree (const CanHandle hnd, int idx); 3184 unsigned int flags);
3238 unsigned int flags);
3257 # define canOBJBUF_AUTO_RESPONSE_RTR_ONLY 0x01 3282 unsigned int period);
3306 unsigned int count);
3375 unsigned int burstlen);
3445 unsigned long timeout);
3597 #define kvLED_ACTION_ALL_LEDS_ON 0 3598 #define kvLED_ACTION_ALL_LEDS_OFF 1 3599 #define kvLED_ACTION_LED_0_ON 2 3600 #define kvLED_ACTION_LED_0_OFF 3 3601 #define kvLED_ACTION_LED_1_ON 4 3602 #define kvLED_ACTION_LED_1_OFF 5 3603 #define kvLED_ACTION_LED_2_ON 6 3604 #define kvLED_ACTION_LED_2_OFF 7 3605 #define kvLED_ACTION_LED_3_ON 8 3606 #define kvLED_ACTION_LED_3_OFF 9 3607 #define kvLED_ACTION_LED_4_ON 10 3608 #define kvLED_ACTION_LED_4_OFF 11 3609 #define kvLED_ACTION_LED_5_ON 12 3610 #define kvLED_ACTION_LED_5_OFF 13 3611 #define kvLED_ACTION_LED_6_ON 14 3612 #define kvLED_ACTION_LED_6_OFF 15 3613 #define kvLED_ACTION_LED_7_ON 16 3614 #define kvLED_ACTION_LED_7_OFF 17 3615 #define kvLED_ACTION_LED_8_ON 18 3616 #define kvLED_ACTION_LED_8_OFF 19 3617 #define kvLED_ACTION_LED_9_ON 20 3618 #define kvLED_ACTION_LED_9_OFF 21 3619 #define kvLED_ACTION_LED_10_ON 22 3620 #define kvLED_ACTION_LED_10_OFF 23 3621 #define kvLED_ACTION_LED_11_ON 24 3622 #define kvLED_ACTION_LED_11_OFF 25 3995 unsigned int notifyFlags);
4010 #define kvBUSTYPE_NONE 0 4016 #define kvBUSTYPE_PCI 1 4022 #define kvBUSTYPE_PCMCIA 2 4028 #define kvBUSTYPE_USB 3 4034 #define kvBUSTYPE_WLAN 4 4040 #define kvBUSTYPE_PCI_EXPRESS 5 4046 #define kvBUSTYPE_ISA 6 4052 #define kvBUSTYPE_VIRTUAL 7 4058 #define kvBUSTYPE_PC104_PLUS 8 4064 #define kvBUSTYPE_LAN 9 4081 #define kvBUSTYPE_GROUP_VIRTUAL 1 4087 #define kvBUSTYPE_GROUP_LOCAL 2 4093 #define kvBUSTYPE_GROUP_REMOTE 3 4098 #define kvBUSTYPE_GROUP_INTERNAL 4 4202 #define kvENVVAR_TYPE_INT 1 4209 #define kvENVVAR_TYPE_FLOAT 2 4216 #define kvENVVAR_TYPE_STRING 3 4233 #define kvEVENT_TYPE_KEY 1 4271 #define kvSCRIPT_STOP_NORMAL 0 4272 #define kvSCRIPT_STOP_FORCED -9 4296 kvStatus CANLIBAPI kvScriptStop (const CanHandle hnd, int slotNo, int mode); 4609 char *filePathOnPC);
4625 #define kvSCRIPT_REQUEST_TEXT_UNSUBSCRIBE 1 4630 #define kvSCRIPT_REQUEST_TEXT_SUBSCRIBE 2 4635 #define kvSCRIPT_REQUEST_TEXT_ALL_SLOTS 255 4662 unsigned int request);
4690 unsigned long *time,
4691 unsigned int *flags,
4701 #define kvSCRIPT_STATUS_LOADED 1 4702 #define kvSCRIPT_STATUS_RUNNING 2 4723 kvStatus CANLIBAPI kvScriptStatus(const CanHandle hnd, 4781 unsigned int *bufsize);
4808 #define canTXEDATA_FILE_VERSION 1 4825 #define canTXEDATA_COMPILER_VERSION 2 4845 #define canTXEDATA_DATE 3 4857 #define canTXEDATA_DESCRIPTION 4 4872 #define canTXEDATA_SOURCE 5 4883 #define canTXEDATA_SIZE_OF_CODE 6 4894 #define canTXEDATA_IS_ENCRYPTED 7 4924 char *deviceFileName);
4949 char *deviceFileName,
4950 char *hostFileName);
5086 #define kvDEVICE_MODE_INTERFACE 0x00 5092 #define kvDEVICE_MODE_LOGGER 0x01 5211 #define kvIO_INFO_GET_MODULE_TYPE 1 5218 #define kvIO_INFO_GET_DIRECTION 2 5225 #define kvIO_INFO_GET_PIN_TYPE 4 5232 #define kvIO_INFO_GET_NUMBER_OF_BITS 5 5241 #define kvIO_INFO_GET_RANGE_MIN 6 5250 #define kvIO_INFO_GET_RANGE_MAX 7 5259 #define kvIO_INFO_GET_DI_LOW_HIGH_FILTER 8 5268 #define kvIO_INFO_GET_DI_HIGH_LOW_FILTER 9 5277 #define kvIO_INFO_GET_AI_LP_FILTER_ORDER 10 5287 #define kvIO_INFO_GET_AI_HYSTERESIS 11 5294 #define kvIO_INFO_GET_MODULE_NUMBER 14 5301 #define kvIO_INFO_GET_SERIAL_NUMBER 15 5310 #define kvIO_INFO_GET_FW_VERSION 16 5332 #define kvIO_INFO_SET_DI_LOW_HIGH_FILTER 8 5341 #define kvIO_INFO_SET_DI_HIGH_LOW_FILTER 9 5350 #define kvIO_INFO_SET_AI_LP_FILTER_ORDER 10 5360 #define kvIO_INFO_SET_AI_HYSTERESIS 11 5378 #define kvIO_MODULE_TYPE_DIGITAL 1 5383 #define kvIO_MODULE_TYPE_ANALOG 2 5388 #define kvIO_MODULE_TYPE_RELAY 3 5404 #define kvIO_PIN_TYPE_DIGITAL 1 5409 #define kvIO_PIN_TYPE_ANALOG 2 5414 #define kvIO_PIN_TYPE_RELAY 3 5430 #define kvIO_PIN_DIRECTION_IN 4 5435 #define kvIO_PIN_DIRECTION_OUT 8 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:3705
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:178
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 kvIoPinGetInfo(const CanHandle hnd, unsigned int pin, int item, void *buffer, const unsigned int bufsize)
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:2872
int64_t kvEnvHandle
Definition: canlib.h:4242
int nNonMagiSyncCards
number of non MagiSync™ interfaces
Definition: canlib.h:3783
canStatus kvIoGetNumberOfPins(const CanHandle hnd, unsigned int *pinCount)
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:3771
unsigned char rxErrorCounter
Definition: canlib.h:180
unsigned long extRemote
Number of received extended (29-bit identifiers) remote frames.
Definition: canlib.h:3707
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:155
canStatus canObjBufDisable(const CanHandle hnd, int idx)
void * tag
Definition: canlib.h:163
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 kvIoPinSetInfo(const CanHandle hnd, unsigned int pin, int item, const void *buffer, const unsigned int bufsize)
canStatus canSetBusOutputControl(const CanHandle hnd, const unsigned int drivertype)
int eventType
Definition: canlib.h:164
canStatus kvIoPinSetRelay(const CanHandle hnd, unsigned int pin, unsigned int value)
canStatus kvIoPinGetDigital(const CanHandle hnd, unsigned int pin, unsigned int *value)
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)
canStatus kvIoPinGetOutputAnalog(const CanHandle hnd, unsigned int pin, float *value)
unsigned int canGetVersionEx(unsigned int itemCode)
canStatus canBusOn(const CanHandle hnd)
long id
Definition: canlib.h:170
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:2873
unsigned short canGetVersion(void)
unsigned long errFrame
Number of error frames.
Definition: canlib.h:3708
canStatus kvIoPinSetAnalog(const CanHandle hnd, unsigned int pin, float value)
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 kvFileDiskFormat(const CanHandle hnd)
kvStatus kvScriptEnvvarSetFloat(kvEnvHandle eHnd, float val)
unsigned long extData
Number of received extended (29-bit identifiers) data frames.
Definition: canlib.h:3706
kvStatus kvReadTimer(const CanHandle hnd, unsigned int *time)
canStatus canObjBufEnable(const CanHandle hnd, int idx)
kvStatus kvScriptRequestText(const CanHandle hnd, unsigned int slot, unsigned int request)
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:179
canStatus kvIoPinGetAnalog(const CanHandle hnd, unsigned int pin, float *value)
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:3957
canStatus canSetBusParamsC200(const CanHandle hnd, unsigned char btr0, unsigned char btr1)
int nMagiSyncGroups
number of MagiSync™ groups
Definition: canlib.h:3781
canStatus canReadSpecificSkip(const CanHandle hnd, long id, void *msg, unsigned int *dlc, unsigned int *flag, unsigned long *time)
kvStatus kvScriptGetText(const CanHandle hnd, int *slot, unsigned long *time, unsigned int *flags, char *buf, size_t bufsize)
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 kvIoPinGetOutputDigital(const CanHandle hnd, unsigned int pin, unsigned int *value)
canStatus canReadErrorCounters(const CanHandle hnd, unsigned int *txErr, unsigned int *rxErr, unsigned int *ovErr)
canStatus kvIoConfirmConfig(const CanHandle hnd)
unsigned long stdData
Number of received standard (11-bit identifiers) data frames.
Definition: canlib.h:3704
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:3715
kvStatus kvTimeDomainAddHandle(kvTimeDomain domain, const CanHandle hnd)
Definition: canlib.h:3780
canStatus canReadTimer(const CanHandle hnd, unsigned long *time)
canStatus kvIoPinSetDigital(const CanHandle hnd, unsigned int pin, unsigned int value)
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:3714
canStatus canRequestChipStatus(const CanHandle hnd)
Definition: canlib.h:3703
kvStatus kvScriptLoadFileOnDevice(const CanHandle hnd, int slotNo, char *localFile)
canStatus canUnloadLibrary(void)
canStatus kvIoPinGetOutputRelay(const CanHandle hnd, unsigned int pin, unsigned int *value)
struct canNotifyData::@0::@1 busErr
canHandle CanHandle
Definition: canlib.h:160
canStatus kvStatus
Definition: canlib.h:3774
Definition: canlib.h:2871
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:3784
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:167
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:3782