descriptionprovides (streaming) protocol decoding functionality
homepage URLhttp://sigrok.org
repository URLgit://sigrok.org/libsigrokdecode
ownerGerhard.Sittig@gmx.net
last changeTue, 1 Oct 2024 21:02:49 +0000 (1 23:02 +0200)
last refreshTue, 28 Oct 2025 11:40:26 +0000 (28 12:40 +0100)
content tags
README
-------------------------------------------------------------------------------
README
-------------------------------------------------------------------------------

The sigrok project aims at creating a portable, cross-platform,
Free/Libre/Open-Source signal analysis software suite that supports various
device types (such as logic analyzers, oscilloscopes, multimeters, and more).

libsigrokdecode is a shared library written in C which provides the basic
API for running sigrok protocol decoders. The protocol decoders themselves
are written in Python.


Status
------

libsigrokdecode is in a usable state and has had official tarball releases.

While the API can change from release to release, this will always be
properly documented and reflected in the package version number and
in the shared library / libtool / .so-file version numbers.

However, there are _NO_ guarantees at all for stable APIs in git snapshots!
Distro packagers should only use released tarballs (no git snapshots).


Requirements
------------

 - git (only needed when building from git)
 - gcc (>= 4.0) or clang
 - make
 - autoconf >= 2.63 (only needed when building from git)
 - automake >= 1.11 (only needed when building from git)
 - libtool (only needed when building from git)
 - pkg-config >= 0.22
 - libglib >= 2.34
 - Python >= 3.2
 - check >= 0.9.4 (optional, only needed to run unit tests)
 - doxygen (optional, only needed for the C API docs)
 - graphviz (optional, only needed for the C API docs)


Building and installing
-----------------------

In order to get the libsigrokdecode source code and build it, run:

 $ git clone git://sigrok.org/libsigrokdecode
 $ cd libsigrokdecode
 $ ./autogen.sh
 $ ./configure
 $ make

For installing libsigrokdecode:

 $ make install

See INSTALL or the following wiki page for more (OS-specific) instructions:

 http://sigrok.org/wiki/Building


Copyright and license
---------------------

libsigrokdecode is licensed under the terms of the GNU General Public License
(GPL), version 3 or later.

The protocol decoders (PDs) included in libsigrokdecode are an integral part
of the shared library (they are not merely external "plugins", they are not
external programs that libsigrokdecode calls via fork/exec, they cannot
function standalone without libsigrokdecode at all, the PDs and the rest of
the libsigrokdecode codebase share data structures and make function calls
to each other). Thus, since the PDs are part of the library, they are also
licensed under the terms of the GPLv3+.

While some individual source code files are licensed under the GPLv2+, and
some files are licensed under the GPLv3+, this doesn't change the fact that
the library as a whole is licensed under the terms of the GPLv3+.

Please see the individual source files for the full list of copyright holders.


Mailing list
------------

 https://lists.sourceforge.net/lists/listinfo/sigrok-devel


IRC
---

You can find the sigrok developers in the #sigrok IRC channel on Libera.Chat.


Website
-------

 http://sigrok.org/wiki/Libsigrokdecode
shortlog
2024-10-01 Soeren Apelmax72xx: Rename max7219 to max72xx and streamline PDmaster
2024-10-01 Sebski123max7219: Add support for cascading MAX72xx chips
2024-10-01 Soeren ApelFix escape sequences treated as unicode laterals
2024-10-01 BenediktOmcp230xx: Add an mcp230xx decoder
2024-10-01 Florian Laryschusb_power_delivery: Handle extended message type in...
2024-10-01 Vegard Storheil... usb_packet: Handle truncated data packets.
2024-10-01 lezerbpwm: Add frequency measurement
2024-09-30 Matthias Kunnentiming: Allow resetting counter on any edge
2024-09-30 atoomnetmarcavr_isp: Add even more parts
2024-03-04 atoomnetmarcavr_isp: Add more parts
2024-02-27 Simon Ruderichavr_isp: fix crash if part name is not known
2024-02-10 bvernouxst25r39xx_spi: Fix FIFOR/FIFOW issues with PV's Tabular...
2023-10-23 Sascha Silbesrd: drop deprecated PyEval_InitThreads() on Python...
2023-10-14 fenugrecspiflash: add MX25L8006 device type
2023-07-30 Gerhard Sittigsae_j1850_vpw: rewrite decoder to improve usability...
2023-07-30 Gerhard Sittigrgb_led_spi: adjust decoder implementation's Python...
...
tags
5 years ago libsigrokdecode-0.5.3 libsigrokdecode 0.5.3 release
7 years ago libsigrokdecode-0.5.2 libsigrokdecode 0.5.2 release
7 years ago libsigrokdecode-unreleased libsigrokdecode unreleased developm...
7 years ago libsigrokdecode-0.5.1 libsigrokdecode 0.5.1 release
8 years ago libsigrokdecode-0.5.0 libsigrokdecode 0.5.0 release
8 years ago libsigrokdecode-0.4.1 libsigrokdecode 0.4.1 release
9 years ago libsigrokdecode-0.4.0 libsigrokdecode-0.4.0 release
10 years ago libsigrokdecode-0.3.1 libsigrokdecode 0.3.1 release
11 years ago libsigrokdecode-0.3.0 libsigrokdecode 0.3.0 release
12 years ago libsigrokdecode-0.2.0 libsigrokdecode 0.2.0 release
12 years ago libsigrokdecode-0.1.1 libsigrokdecode 0.1.1 release
13 years ago sigrok-dumps-0.1.0 sigrok-dumps 0.1.0 release
13 years ago libsigrokdecode-0.1.0 libsigrokdecode 0.1.0 release
heads
12 months ago master
forks
Cached version (4756s old)
libsigrokdecode/gsi.git gsi's contribution to libsigrokdecode Gerhard.Sittig@gmx.net 2 years ago