Open yegorich opened 12 years ago
Up to know we've only integrated CAN APIs, but not the drivers itself. But I agree that it makes sense. And we should not copy, but reimplement it due to the license differences of Linux and BUSMASTER.
I understand. Actually ASCII protocol implementation will touch busmaster only. It is not really a driver. You just open COM port and work with it. CANHacker has already implemented this API.
In Linux it is a driver (you still need a user space daemon slcand), because you have SocketCAN and aside from changing baudrate and some other stuff you have the same control over ASCII based CAN device as with "normal" one.
Add support for low-cost serial port based devices (UART, USB etc.) using ASCII protocol for Windows. In Linux this protocol is already implemented as slcan driver (drivers/net/can/slcan.c). See http://prdownload.berlios.de/socketcan/SLCAN-API.pdf for reference.