The following constants can be returned from canGetChannelData(), using the canCHANNELDATA_CARD_TYPE item code. They identify the hardware type for the channel specified in the call to canGetChannelData. Note that they indicate a hardware type, but not necessarily a specific product. For example, canHWTYPE_LAPCAN is returned both for LAPcan and LAPcan II. (You can use canGetChannelData to obtain the UPC/EAN code for the device. This number uniquely identifies the product.)
| Constant | Hardware |
|---|---|
| canHWTYPE_NONE | Unknown or undefined |
| canHWTYPE_VIRTUAL | The virtual CAN bus |
| canHWTYPE_LAPCAN | LAPcan family |
| canHWTYPE_PCCAN | PCcan family |
| canHWTYPE_PCICAN | PCIcan family |
| canHWTYPE_USBCAN | USBcan |
| canHWTYPE_PCICAN_II | PCIcan II |
| canHWTYPE_USBCAN_II | USBcan II, USBcan Rugged, Kvaser Memorator |
| canHWTYPE_SIMULATED | Simulated CAN bus for Kvaser Creator. |
| canHWTYPE_ACQUISITOR | Kvaser Acquisitor |
| canHWTYPE_LEAF | Kvaser Leaf family |
The following constants can be returned from canGetChannelData(), using the canCHANNELDATA_TRANS_TYPE item code. They identify the bus transceiver type for the channel specified in the call to canGetChannelData. Note that they indicate a hardware type, but not necessarily a specific circuit or product.
| Constant | Hardware |
|---|---|
| canTRANSCEIVER_TYPE_UNKNOWN | Unknown or undefined |
| canTRANSCEIVER_TYPE_251 | 82c251 |
| canTRANSCEIVER_TYPE_252 | 82c252, TJA1053, TJA1054 |
| canTRANSCEIVER_TYPE_DNOPTO | Optoisolated 82C251 |
| canTRANSCEIVER_TYPE_SWC_PROTO | AU5790 prototype |
| canTRANSCEIVER_TYPE_SWC | AU5790 |
| canTRANSCEIVER_TYPE_FIBER | 82c251 with fibre extension |
| canTRANSCEIVER_TYPE_1054_OPTO | TJA1054 optical isolation |
| canTRANSCEIVER_TYPE_SWC_OPTO | AU5790 optical isolation |
| canTRANSCEIVER_TYPE_TT | B10011S Truck-And-Trailer |
| canTRANSCEIVER_TYPE_1050 | TJA1050 |
| canTRANSCEIVER_TYPE_1050_OPTO | TJA1050 optical isolation |
| canTRANSCEIVER_TYPE_1041 | TJA1041 |
| canTRANSCEIVER_TYPE_1041_OPTO | TJA1041 optical isolation |
| canTRANSCEIVER_TYPE_LIN | LIN |