From sigrok
Revision as of 21:40, 5 December 2013 by Martling (talk | contribs) (Supported operating systems)
Jump to: navigation, search

libserialport is a minimal, cross-platform shared library written in C that is intended to take care of the OS-specific details when writing software that uses serial ports.

It is licensed under the terms of the GNU Lesser General Public License, version 3 or later.

Supported operating systems

  • Linux
  • Mac OS X
  • Windows
  • Android

API documentation

You can browse the API documentation of the library online.

Getting the code

$ git clone git://

You can also browse the source code via gitweb.


  • libudev (only needed on Linux)
  • There are no dependencies at all on other OSes.

Building from source

$ ./
$ ./configure
$ make
$ sudo make install