Closed brandonros closed 4 years ago
Could we not just switch out the usb_bulk_write Linux commands for the Mac equivalent?
Sorry for the delay.
That's not that easy. The driver architecture for CAN is not standardized under Windows and MacOS. You can't simple take CAN hardware (and driver) from manufacturer A and use it with CAN software from manufacturer B. That's the reason why so many CAN adapters speak LAWICEL protocol behind a serial interface.
I wrote a WebUSB driver for the CandleLight gs_usb driver that works well under Mac.
That's a library not a driver. Of course you could add the usb2can commands to a device specific library.
Sadly this is not portable. Because no other operating system supports SocketCAN or something similar (AFAIK).
You have to write a driver from scratch or ask UAB "8devices".