Skip to content
Nim bindings for libserialport, the cross-platform serial communication library.
Nim
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
examples
src
.gitignore
LICENSE
README.md
nim.cfg
nimdoc.cfg
serialport.nimble

README.md

serialport

Nim bindings for libserialport, the cross-platform serial communication library.

serialport Logo

About

This package contains bindings to libserialport for the Nim programming language. libserialport is a minimal, cross-platform library for communication with serial ports.

Supported Platforms

The following platforms have been built and tested with libserialport 0.2.0:

  • Android
  • FreeBSD
  • Linux
  • OpenBSD
  • MacOS X
  • Windows

Prerequisites

Android

TODO

FreeBSD

TODO

Linux

Your package manager may already have the latest version of libserialport available for installation. Please check the libserialport download page for details. If the latest library is not available, follow the instructions on the libserialport wiki to build and install it from source.

Note that on some Linux distributions you may have to copy the generated libserialport.so file into the appropriate location, i.e. to /usr/lib.

OpenBSD

TODO

MacOS X

TODO

Windows

TODO

Dependencies

This package does not have any dependencies to other Nim packages at this time.

Usage

Import the libserialport module from this package to make the bindings available in your project:

import libserialport

Support

Please file an issue, submit a pull request or email us at info@nimio.us if this package is out of date or contains bugs. For all other issues related to serial port devices visit the libserialport web site below.

References

You can’t perform that action at this time.