J2534 Support - intrepidcs APIΒΆ
The icsneo40.dll implements the required imports as specified in J2534. The DLLs are registered when Vehicle Spy or the API install kit is installed.
The DLL also supports the manufacturer specific IDS listed below. Also, it supports the single wire can SWCAN ids as specified in J2534-2 (SWCAN_CAN and SWCAN_ISO15765).
// manufacturer specific protocol ids
#define J2534_PROTOCOLID_ICS_CANFD_PS 0x1000D
#define J2534_PROTOCOLID_ICS_ISO15765_CANFD_PS 0x1000C
#define J2534_PROTOCOLID_ETHERNET 0x1000E
//Support for multiple CAN channels
#define J2534_PROTOCOLID_CAN_CH1 0x9000
#define J2534_PROTOCOLID_CAN_CH2 J2534_PROTOCOLID_CAN_CH1 + 1
#define J2534_PROTOCOLID_CAN_CH3 J2534_PROTOCOLID_CAN_CH1 + 2
#define J2534_PROTOCOLID_CAN_CH4 J2534_PROTOCOLID_CAN_CH1 + 3
#define J2534_PROTOCOLID_CAN_CH5 J2534_PROTOCOLID_CAN_CH1 + 4
#define J2534_PROTOCOLID_CAN_CH6 J2534_PROTOCOLID_CAN_CH1 + 5
#define J2534_PROTOCOLID_CAN_CH7 J2534_PROTOCOLID_CAN_CH1 + 6
#define J2534_PROTOCOLID_CAN_CH8 J2534_PROTOCOLID_CAN_CH1 + 7
//Support for multiple ISO15765 channels
#define J2534_PROTOCOLID_ISO15765_CH1 0x9280
#define J2534_PROTOCOLID_ISO15765_CH2 J2534_PROTOCOLID_ISO15765_CH1 + 1
#define J2534_PROTOCOLID_ISO15765_CH3 J2534_PROTOCOLID_ISO15765_CH1 + 2
#define J2534_PROTOCOLID_ISO15765_CH4 J2534_PROTOCOLID_ISO15765_CH1 + 3
#define J2534_PROTOCOLID_ISO15765_CH5 J2534_PROTOCOLID_ISO15765_CH1 + 4
#define J2534_PROTOCOLID_ISO15765_CH6 J2534_PROTOCOLID_ISO15765_CH1 + 5
#define J2534_PROTOCOLID_ISO15765_CH7 J2534_PROTOCOLID_ISO15765_CH1 + 6
#define J2534_PROTOCOLID_ISO15765_CH8 J2534_PROTOCOLID_ISO15765_CH1 + 7
//Support for Manufacturer specific ISO15765 CANFD channels
#define J2534_PROTOCOLID_ISO15765_CANFD_CH1 0x9900
#define J2534_PROTOCOLID_ISO15765_CANFD_CH2 J2534_PROTOCOLID_ISO15765_CANFD_CH1 + 1
#define J2534_PROTOCOLID_ISO15765_CANFD_CH3 J2534_PROTOCOLID_ISO15765_CANFD_CH1 + 2
#define J2534_PROTOCOLID_ISO15765_CANFD_CH4 J2534_PROTOCOLID_ISO15765_CANFD_CH1 + 3
#define J2534_PROTOCOLID_ISO15765_CANFD_CH5 J2534_PROTOCOLID_ISO15765_CANFD_CH1 + 4
#define J2534_PROTOCOLID_ISO15765_CANFD_CH6 J2534_PROTOCOLID_ISO15765_CANFD_CH1 + 5
#define J2534_PROTOCOLID_ISO15765_CANFD_CH7 J2534_PROTOCOLID_ISO15765_CANFD_CH1 + 6
#define J2534_PROTOCOLID_ISO15765_CANFD_CH8 J2534_PROTOCOLID_ISO15765_CANFD_CH1 + 7
//Support for Manufacturer specific CAN FD Channels
#define J2534_PROTOCOLID_CANFD_CH1 0x9880
#define J2534_PROTOCOLID_CANFD_CH2 J2534_PROTOCOLID_CANFD_CH1 + 1
#define J2534_PROTOCOLID_CANFD_CH3 J2534_PROTOCOLID_CANFD_CH1 + 2
#define J2534_PROTOCOLID_CANFD_CH4 J2534_PROTOCOLID_CANFD_CH1 + 3
#define J2534_PROTOCOLID_CANFD_CH5 J2534_PROTOCOLID_CANFD_CH1 + 4
#define J2534_PROTOCOLID_CANFD_CH6 J2534_PROTOCOLID_CANFD_CH1 + 5
#define J2534_PROTOCOLID_CANFD_CH7 J2534_PROTOCOLID_CANFD_CH1 + 6
#define J2534_PROTOCOLID_CANFD_CH8 J2534_PROTOCOLID_CANFD_CH1 + 7
// manufacturer specific protocol ids
#define J2534_PROTOCOLID_ICS_NETID_HSCAN 0x10001
#define J2534_PROTOCOLID_ICS_NETID_MSCAN 0x10002
#define J2534_PROTOCOLID_ICS_NETID_SWCAN 0x10003
#define J2534_PROTOCOLID_ICS_NETID_LSFTCAN 0x10004
#define J2534_PROTOCOLID_ICS_NETID_FORDSCP 0x10005
#define J2534_PROTOCOLID_ICS_NETID_J1708 0x10006
#define J2534_PROTOCOLID_ICS_NETID_SCI 0x10007
#define J2534_PROTOCOLID_ICS_NETID_JVPW 0x10008
#define J2534_PROTOCOLID_ICS_NETID_ISO 0x10009
#define J2534_PROTOCOLID_ICS_NETID_SWCAN2 0x1000A
#define J2534_PROTOCOLID_ICS_NETID_SW_CAN2_PS 0x1000B
#define J2534_PROTOCOLID_SW_CAN2_ISO15765_PS 0x10040
#define J2534_PROTOCOLID_ICS_NETID_LSFTCAN2 0x10041