A Go Linux/Windows/OSX CAN library
- combi - requires libusb-1.0.dll
- canlib - requires client32.dll
- canusb - requires canusbdrv(64).dll
- j2538 - requires vendor DLL to be installed
Get goCAN
go get github.com/roffe/gocan@latest
Import the package in your imports
import (
...
"github.com/roffe/gocan"
)
- OBDLinx SX/EX/MX/MX+: https://www.obdlink.com/
- STN1130
- STN1170
- STN2120
- CANUSB adapter running in VCP mode using Lawicel ascii api
- CANable Nano and Pro running slcan
- YACA
- CombiAdapter
Supported via goCANUSB
Lawicel canusbdrv.dll for both 32 and 64bit is supported
Supported via goCANlib, Tested with the following adapters
- Kvaser Leaf Light V2 https://kvaser.com/
Support for both 32 & 64bit DLL's. Your GOARCH will controll which it will look for.
Do note that not all vendors provide 64bit DLL's so you migh need to build your software with GOARCH=386 to be able to use the j2534 DLL
Most adapters that comes with a J2534 DLL will work. The list given is just ones verified to work.
- Drewtech Mongoose GM PRO II: https://www.drewtech.com/
- Scanmatik 2 PRO: https://scanmatik.pro/
- Tech2 passthru ( limited support )
- GM MDI
- OBDX Pro GT/VT: https://www.obdxpro.com/
- Kvaser Leaf Light V2: https://kvaser.com/
- PCAN32
- Tactrix Openport 2.0: https://github.com/dschultzca/j2534
- Machina: https://github.com/rnd-ash/Macchina-J2534
- WQCAN: https://github.com/witoldo7/STM32CAN
- SocketCAN
- OBDX Pro GT BLE & Wifi
- Combiadapter via libusb