/libserialport

Perl wrapper for the libserialport C library

Primary LanguagePerlGNU Lesser General Public License v3.0LGPL-3.0

NAME

SerialPort version 0.3.1

DESCRIPTION

Perl wrapper for the libserialport C library.

All essential functions of the entire library API are wrapped by using XS. In addition, a higher-level OOP interface is also provided by using Moo and Type::Tiny.

The library could build only on Windows and should work on Windows and Unix-based systems. If it does not, please submit a Issue.

WARNING

This stuff is still fairly new and there is still a need for adjustment. While I'm working on it, backward compatibility can break with a given commit.

INSTALLATION

To install this module type the following:

perl Makefile.PL
make
make test
make install

DEPENDENCIES

This module requires these modules or libraries and some other modules:

  • Moo

  • Type::Tiny

  • Function::Parameters

  • libserialport

The examples/ directory contains simple serial programs by using the Sigrok::SerialPort backend module.

SEE ALSO

AUTHOR

COPYRIGHT AND LICENCE

libserialport is an open source project released under the LGPL3+ license.

  • Copyright (C) 2013, 2015 Martin Ling <martin-libserialport@earth.li>

  • Copyright (C) 2014 Uwe Hermann <uwe@hermann-uwe.de>

  • Copyright (C) 2014 Aurelien Jacobs <aurel@gnuage.org>

This Module is free software: you can redistribute it and/or modify it under the same terms of the GNU Lesser General Public License as published by libserialport.

Please refer to the Sigrok homepage for a lot more information.