Common Serial Interface - CSI
RS232_Library_Header.jpg

The Common Serial Interface provides a CANopen like interface for devices connected to serial RS232 interfaces. Each device that implements that interface has an object dictionary. Entries in this object dictionary can be read or written via the CSI protocol.

For RS232 communication this library uses a hardware independent device driver (csi_bus.h). This driver relies on a hardware dependent RS232 driver that provides a common interface to the hardware independent driver. The user just needs to implement this hardware dependent RS232 driver and the platform abstraction file csi_plfabstr.h.

The library includes various sample implementations for different Windows and Linux serial port libraries.

Installation Directory Content

The CSI library comes with a number of example implementations for different serial drivers and platform abstraction files for Windows and Linux

  • Root Folder - contains all CSI library source files
    • 3rdparty - source code for 3rd party serial port libraries
    • examples - here you find a number of C examples that show how to use the library
    • libserialport - implementation of csi_hwserial for libserialport
    • qtserialport - implementation of csi_hwserial based on the cross platform QtSerialPort library.
    • serial - implementation of csi_hwserial for serial library
    • unix - contains the platform abstraction for Unix/Linux OS
    • windows - contains the platform abstraction for Windows OS

For a detailed description of all API functions browse the CSI API.