rbei-etas / busmaster

BUSMASTER is an Open Source Software tool to simulate, analyze and test data bus systems such as CAN. BUSMASTER was conceptualized, designed and implemented by Robert Bosch Engineering and Business Solutions (RBEI). Presently it is a joint project of RBEI and ETAS GmbH.
http://rbei-etas.github.com/busmaster/
GNU General Public License v3.0
950 stars 500 forks source link

Add support for ASCII protocol based devices #196

Open yegorich opened 12 years ago

yegorich commented 12 years ago

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.

etas-lorenz commented 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.

yegorich commented 12 years ago

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.