libsigrokdecode.git
6 years agoRename usb_protocol to usb_packet.
Uwe Hermann [Wed, 2 Oct 2013 17:29:54 +0000 (19:29 +0200)]
Rename usb_protocol to usb_packet.

There will be further PDs that are stacked on top of usb_packet.

6 years agousb_signalling: Document protocol output format.
Uwe Hermann [Wed, 2 Oct 2013 17:13:44 +0000 (19:13 +0200)]
usb_signalling: Document protocol output format.

Also, add missing output for some packet types.

6 years agoonewire_link: Provide short/long annotations.
Uwe Hermann [Tue, 8 Oct 2013 22:34:41 +0000 (00:34 +0200)]
onewire_link: Provide short/long annotations.

6 years agoonewire_link: Fix typos.
Uwe Hermann [Tue, 8 Oct 2013 22:30:35 +0000 (00:30 +0200)]
onewire_link: Fix typos.

6 years agoonewire_link: Split "reset" and "presence" annotations.
Uwe Hermann [Tue, 8 Oct 2013 22:23:49 +0000 (00:23 +0200)]
onewire_link: Split "reset" and "presence" annotations.

This needs a few more fixes later, but it's a start.

6 years agoonewire_link: Default the 'overdrive' option to 'no'.
Uwe Hermann [Tue, 8 Oct 2013 21:20:15 +0000 (23:20 +0200)]
onewire_link: Default the 'overdrive' option to 'no'.

6 years agoonewire_link: Use defaults for the PD options.
Uwe Hermann [Tue, 8 Oct 2013 21:06:39 +0000 (23:06 +0200)]
onewire_link: Use defaults for the PD options.

This also simplifies the PD code a bit.

6 years agoonewire_link: Drop PD info not useful for the user.
Uwe Hermann [Tue, 8 Oct 2013 15:56:01 +0000 (17:56 +0200)]
onewire_link: Drop PD info not useful for the user.

6 years agoonewire_link: Use annotation types.
Uwe Hermann [Tue, 8 Oct 2013 15:49:55 +0000 (17:49 +0200)]
onewire_link: Use annotation types.

This fixes bug #147.

6 years agoonewire_link: Add/use annotation helpers.
Uwe Hermann [Tue, 8 Oct 2013 15:46:59 +0000 (17:46 +0200)]
onewire_link: Add/use annotation helpers.

6 years agoi2s: Add shorter and longer annotations for GUI use.
Uwe Hermann [Mon, 7 Oct 2013 22:41:28 +0000 (00:41 +0200)]
i2s: Add shorter and longer annotations for GUI use.

This fixes (the remaining parts of) bug #162.

6 years agoi2s: Define/use common proto out format.
Uwe Hermann [Mon, 7 Oct 2013 22:26:54 +0000 (00:26 +0200)]
i2s: Define/use common proto out format.

6 years agoi2s: Add helper methods for annotation/proto output.
Uwe Hermann [Mon, 7 Oct 2013 14:34:51 +0000 (16:34 +0200)]
i2s: Add helper methods for annotation/proto output.

6 years agoi2s: Use annotation types.
Uwe Hermann [Mon, 7 Oct 2013 14:32:11 +0000 (16:32 +0200)]
i2s: Use annotation types.

This fixes parts of bug #162.

6 years agoAdd initial MIDI protocol decoder.
Uwe Hermann [Thu, 18 Jul 2013 19:31:47 +0000 (21:31 +0200)]
Add initial MIDI protocol decoder.

This supports a certain number of MIDI messages already, but not yet all
of them. More will be added later.

6 years agousb_signalling: Fix packet annotation.
Uwe Hermann [Sun, 29 Sep 2013 18:22:51 +0000 (20:22 +0200)]
usb_signalling: Fix packet annotation.

6 years agousb_signalling: Fix EOP handling and annotation.
Uwe Hermann [Sun, 29 Sep 2013 18:19:21 +0000 (20:19 +0200)]
usb_signalling: Fix EOP handling and annotation.

6 years agousb_signalling: Properly use different annotation types.
Uwe Hermann [Sun, 29 Sep 2013 18:05:13 +0000 (20:05 +0200)]
usb_signalling: Properly use different annotation types.

6 years agousb_signalling: Fix decode of individual bits.
Uwe Hermann [Sat, 28 Sep 2013 22:18:24 +0000 (00:18 +0200)]
usb_signalling: Fix decode of individual bits.

After a Start of Packet (SOP) has been detected, "sample" the individual
USB symbolŃ•/bits in the middle of the respective bittime (depending on
whether full-speed or low-speed signalling is used).

This fixes various incorrectly decoded cases (bug #158).

6 years agousb_signalling: Simplify symbols handling a bit.
Uwe Hermann [Fri, 20 Sep 2013 14:28:33 +0000 (16:28 +0200)]
usb_signalling: Simplify symbols handling a bit.

6 years agousb_signalling: Refactor/simplify bitrate/bitwidth handling.
Uwe Hermann [Fri, 20 Sep 2013 14:22:33 +0000 (16:22 +0200)]
usb_signalling: Refactor/simplify bitrate/bitwidth handling.

6 years agousb_signalling: Fix start/end sample numbers.
Uwe Hermann [Sun, 15 Sep 2013 18:46:56 +0000 (20:46 +0200)]
usb_signalling: Fix start/end sample numbers.

This makes the decoder suitable for GUI usage.

This fixes bug #155.

6 years agodcf77: Fix date parity check.
Uwe Hermann [Sun, 15 Sep 2013 18:07:03 +0000 (20:07 +0200)]
dcf77: Fix date parity check.

The parity check for certain DCF77 fields/bits was incorrect. It has to be
an even parity over bits 36-58. This is fixed now.

This fixes bug #157.

6 years agodcf77: Provide short and long annotations.
Uwe Hermann [Sun, 15 Sep 2013 16:12:45 +0000 (18:12 +0200)]
dcf77: Provide short and long annotations.

6 years agodcf77: Fix multi-bit DCF77 field annotations.
Uwe Hermann [Sun, 15 Sep 2013 14:50:15 +0000 (16:50 +0200)]
dcf77: Fix multi-bit DCF77 field annotations.

6 years agodcf77: Consistency renames.
Uwe Hermann [Sun, 15 Sep 2013 14:39:59 +0000 (16:39 +0200)]
dcf77: Consistency renames.

6 years agodcf77: Drop PON pin handling.
Uwe Hermann [Sun, 15 Sep 2013 14:33:32 +0000 (16:33 +0200)]
dcf77: Drop PON pin handling.

The PON pin is specific to the Pollin "DCF1 module", but has nothing to
do with DCF77 itself. Thus, drop it from this PD. It can be part of
another stacked PD if needed.

This fixes bug #153.

6 years agodcf77: Use proper annotations for DCF77 components.
Uwe Hermann [Sun, 15 Sep 2013 14:31:00 +0000 (16:31 +0200)]
dcf77: Use proper annotations for DCF77 components.

6 years agodcf77: Fix bug in handling of DCF77 bit 0.
Uwe Hermann [Sat, 14 Sep 2013 21:20:48 +0000 (23:20 +0200)]
dcf77: Fix bug in handling of DCF77 bit 0.

6 years agodcf77: Fix start-/end-sample numbers.
Uwe Hermann [Sat, 14 Sep 2013 21:17:10 +0000 (23:17 +0200)]
dcf77: Fix start-/end-sample numbers.

This fixes bug #154.

6 years agoi2c: Drop unneeded 'addressing' option.
Uwe Hermann [Sat, 14 Sep 2013 18:28:40 +0000 (20:28 +0200)]
i2c: Drop unneeded 'addressing' option.

This (unimplemented so far) option is not needed at all, since the
decoder will be able to detect 7/10 bit slave addresses automatically,
the user doesn't have to specify slave address sizes.

6 years agoi2c: Drop obsolete TODOs.
Uwe Hermann [Sat, 14 Sep 2013 18:10:01 +0000 (20:10 +0200)]
i2c: Drop obsolete TODOs.

6 years agoi2c: Move OUTPUT_PROTO docs to pd.py.
Uwe Hermann [Sat, 14 Sep 2013 17:07:20 +0000 (19:07 +0200)]
i2c: Move OUTPUT_PROTO docs to pd.py.

6 years agoi2c: Moved extensive protocol docs to the wiki.
Uwe Hermann [Sat, 14 Sep 2013 17:06:05 +0000 (19:06 +0200)]
i2c: Moved extensive protocol docs to the wiki.

6 years agoi2c: Various fixes to make the PD suitable for GUIs.
Uwe Hermann [Fri, 13 Sep 2013 17:08:34 +0000 (19:08 +0200)]
i2c: Various fixes to make the PD suitable for GUIs.

The output format of the slave address is now a PD option. It can be
"shifted" or "unshifted", i.e. bit 0 (which contains a read/write
marker) is either shifted out or not, i.e., the slave address is
displayed as 8bit or 7bit number (or 11bit/10bit number for 10bit slave
addresses).

Data bytes (not address bytes) are always shown as 8bit values, of course.

Add annotation types for the individual I2C components such as
start conditions, stop conditions, ACK/NACK, address read/writes,
data read/writes and so on.

This fixes bug #151.

6 years agospi: Add some documentation, move OUTPUT_PROTO docs.
Uwe Hermann [Thu, 12 Sep 2013 19:22:09 +0000 (21:22 +0200)]
spi: Add some documentation, move OUTPUT_PROTO docs.

Add a short help text for the PD and move the OUTPUT_PROTO docs to pd.py
since they're not meant for the user too see.

6 years agospi: Make CS# optional and use it if supplied.
Uwe Hermann [Thu, 12 Sep 2013 19:19:55 +0000 (21:19 +0200)]
spi: Make CS# optional and use it if supplied.

The CS# pin is now optional, it can either be supplied to the PD or not.

If it _is_ supplied, reset the PD state every time it changes. This has
the effect that "incomplete" SPI frames and those where CS# is not
asserted are ignored and not decoded.

This fixes bug #152.

6 years agospi: Refactor code, use a state machine.
Uwe Hermann [Thu, 12 Sep 2013 19:14:06 +0000 (21:14 +0200)]
spi: Refactor code, use a state machine.

6 years agospi: Provide multiple annotation types.
Uwe Hermann [Thu, 12 Sep 2013 19:05:22 +0000 (21:05 +0200)]
spi: Provide multiple annotation types.

For now SPI gets the following annotation types:

 - MISO/MOSI SPI data
 - MISO SPI data
 - MOSI SPI data

(i.e. you can see either MISO, or MOSI, or both; the latter is most
useful for CLI usage)

Also, show the hex values as e.g. F5 (upper-case letters, no "0x" prefix).

6 years agospi: Fix start-/end-sample numbers.
Uwe Hermann [Thu, 12 Sep 2013 18:57:04 +0000 (20:57 +0200)]
spi: Fix start-/end-sample numbers.

This now makes the SPI decoder suitable for use in GUIs.

This fixes bug #150.

6 years agospi: Make data format a PD option, add annotation types.
Uwe Hermann [Thu, 12 Sep 2013 18:45:02 +0000 (20:45 +0200)]
spi: Make data format a PD option, add annotation types.

The data format can be specified via the PD's "format" option now, it is
no longer an annotation type.

Also, add and use two annotation types: "Data" and "Warnings".

6 years agocan: Use proper annotation types for the CAN fields.
Uwe Hermann [Thu, 12 Sep 2013 14:36:25 +0000 (16:36 +0200)]
can: Use proper annotation types for the CAN fields.

This allows GUIs to show different fields in different colors.

6 years agouart: Output data in separate RX and TX annotation types.
Uwe Hermann [Thu, 12 Sep 2013 07:40:40 +0000 (09:40 +0200)]
uart: Output data in separate RX and TX annotation types.

There is one annotation type for the RX side of the communication/data
output now, and another one for the TX side.

This allows GUIs to show them in two different traces, and/or show them in
the same trace but with different colors.

This also has the additional benefit that it is clear which databyte
belongs to which direction. Previously the annotations had to look like
"RX: 5F" or "TX: 11001011", but the "RX: " and "TX: " prefixes are now
no longer required, making the GUI traces (and CLI output too) much more
readable.

6 years agouart: Use same length for data output in all cases.
Uwe Hermann [Thu, 12 Sep 2013 07:32:28 +0000 (09:32 +0200)]
uart: Use same length for data output in all cases.

Until now you could get e.g. "d" or "df" as hex output from the UART PD.

This will now be a common-length "0D" and "DF". When all data byte
annotations are of the same lengths the readability in GUI traces is a lot
better. Also, hardcode hex characters to be upper-case (for now).

The same applies to oct ("021" instead of "21") and bin output
("00001001" instead of "1001").

6 years agouart: Put annotations into proper annotation types.
Uwe Hermann [Thu, 12 Sep 2013 07:17:12 +0000 (09:17 +0200)]
uart: Put annotations into proper annotation types.

There are now extra annotation types for data, start/stop/parity bits and
for warnings (e.g. "invalid parity" or "frame error" or such).

This allows users to select which of the annotation types they want to
see (they can select one/multiple/all annotations as needed), and also
allows them to use different visual representation for the different
annotation types in GUIs (e.g. different colors for the blobs, different
fonts, rectangle/round/elliptic blobs, and so on; how the annotation
blobs are displayed is entirely up to the GUI and its configuration by
the user).

6 years agouart: Move OUTPUT_PROTO format description to pd.py.
Uwe Hermann [Thu, 12 Sep 2013 07:07:53 +0000 (09:07 +0200)]
uart: Move OUTPUT_PROTO format description to pd.py.

This is information that a user (when viewing PD info in a GUI/CLI)
should not see (and doesn't care to see), it is meant for developers only.

Thus, make it a comment in pd.py instead.

6 years agouart: Drop extensive protocol info (moved to wiki).
Uwe Hermann [Thu, 12 Sep 2013 07:01:52 +0000 (09:01 +0200)]
uart: Drop extensive protocol info (moved to wiki).

Move the full details of the protocol to the wiki, the docs in the PD
itself should only be a short description and/or a collection of notes
that could be useful for a user in a GUI (or CLI) to decide which
PD to select, which options to set how, what PDs to stack where, and so on.

The full protocol description (including photos, examples, ...) is here:

  http://sigrok.org/wiki/Protocol_decoder:Uart

6 years agouart: Make data format selection a PD option.
Uwe Hermann [Thu, 12 Sep 2013 06:31:59 +0000 (08:31 +0200)]
uart: Make data format selection a PD option.

Until now we (ab)used annotation types for outputting the same data
(numbers) in different formats (hex, ascii, binary, and so on).

Turn this into a proper PD option, since annotation types should rather be
used for different _types_ of annotations (e.g. "CRC", "Stop bit",
"Preamble", "Sequence counter", "Warnings", and similar things), not
different _formats_ for the same annotation type.

Old sigrok-cli invocation for hex output:

  sigrok-cli ... -P uart:rx=0:tx=1 -A uart=hex

New:

  sigrok-cli ... -P uart:rx=0:tx=1:format=hex

In GUIs there is now a new "Data format" option where the user can
select the output format for UART data (default is 'ascii').

6 years agouart: Use T for stop bit, P for parity bit.
Uwe Hermann [Thu, 12 Sep 2013 06:20:03 +0000 (08:20 +0200)]
uart: Use T for stop bit, P for parity bit.

The short(est) annotations for "Stop bit" and "Parity bit" have both
been "P" until now, which is confusing for users (on certain zoom levels
in GUIs). Use "T" for stop bits now instead.

6 years agouart: Don't prefix databyte output numbers.
Uwe Hermann [Wed, 11 Sep 2013 17:53:31 +0000 (19:53 +0200)]
uart: Don't prefix databyte output numbers.

Previously the output was 0x41 or 0o101 or 0b1000001, now it is 41 or
101 or 1000001. We drop these prefixes, since they decrease the readability
of the PD output (especially when displayed in GUIs) and are not needed
anyway since the user knowingly selected the number format before running
the respective PD.

6 years agouart: Fix corner-case that can occur with LA triggers.
Uwe Hermann [Wed, 11 Sep 2013 17:20:15 +0000 (19:20 +0200)]
uart: Fix corner-case that can occur with LA triggers.

Assume that the initial pin state is 1/high for the RX and TX lines.

This fixes the decode when an LA triggers on e.g. TX=low (the first
sample would be low in that case, so the falling edge for the start bit
would be missed by the decoder).

6 years agouart: Fix start-/end-sample numbers.
Uwe Hermann [Wed, 11 Sep 2013 17:15:51 +0000 (19:15 +0200)]
uart: Fix start-/end-sample numbers.

This now makes the UART decoder suitable for use in GUIs.

This fixes bug #148.

6 years agocan: Use annotation abbreviations.
Uwe Hermann [Tue, 10 Sep 2013 07:33:11 +0000 (09:33 +0200)]
can: Use annotation abbreviations.

Supply long, middle, and short versions for most annotations, so that
GUIs can show nicely readable and useful annotations on various zoom
levels.

6 years agocan: Fix annotation start/end samples.
Uwe Hermann [Mon, 9 Sep 2013 19:48:42 +0000 (21:48 +0200)]
can: Fix annotation start/end samples.

With this change pretty much all CAN annotations that are currently
output should have the correct values, including single-bit and
multi-bit fields, standard and extended CAN frames, and so on.

This fixes #146.

6 years agocan: Prepare for fixing annotation start/end samples.
Uwe Hermann [Mon, 9 Sep 2013 17:38:38 +0000 (19:38 +0200)]
can: Prepare for fixing annotation start/end samples.

6 years agoi2c: Fix corner-case that can occur with LA triggers.
Uwe Hermann [Sun, 8 Sep 2013 13:16:11 +0000 (15:16 +0200)]
i2c: Fix corner-case that can occur with LA triggers.

Until now the I2C PD was basically ignoring the very first sample, and
using that as the initial 'oldscl'/'oldsda' value.

However, if your logic analyzers trigger on, say, SDA=low that will
result in a file where the first sample is really important since it
is the one which the PD will need to know that there's a falling edge
on SDA.

Thus, assume both SCL and SDA are high/1 when the PD starts. This is
a good assumption since both pins have pullups on them in practice
and are thus high/1 when the bus is idle.

Later on we might want to have config options to let the PD assume
other states of SDA/SCL initially.

6 years agoi2s: Fixed annotation sample numbers
Joel Holdsworth [Tue, 3 Sep 2013 15:36:44 +0000 (16:36 +0100)]
i2s: Fixed annotation sample numbers

6 years agopan1321: Improve commands documentation.
Uwe Hermann [Thu, 15 Aug 2013 15:12:33 +0000 (17:12 +0200)]
pan1321: Improve commands documentation.

6 years agopan1321: Initial JSDA support.
Uwe Hermann [Fri, 9 Aug 2013 18:17:03 +0000 (20:17 +0200)]
pan1321: Initial JSDA support.

6 years agopan1321: Add support for JAAC.
Uwe Hermann [Fri, 9 Aug 2013 17:19:00 +0000 (19:19 +0200)]
pan1321: Add support for JAAC.

6 years agopan1321: Properly check for \r\n, not just \n.
Uwe Hermann [Fri, 9 Aug 2013 17:13:20 +0000 (19:13 +0200)]
pan1321: Properly check for \r\n, not just \n.

6 years agopan1321: Code simplifications.
Uwe Hermann [Fri, 9 Aug 2013 17:11:08 +0000 (19:11 +0200)]
pan1321: Code simplifications.

6 years agopan1321: Add warnings for invalid protocol usage.
Uwe Hermann [Sun, 4 Aug 2013 12:24:40 +0000 (14:24 +0200)]
pan1321: Add warnings for invalid protocol usage.

6 years agopan1321: Support JSEC and JPRO.
Uwe Hermann [Sun, 4 Aug 2013 12:15:33 +0000 (14:15 +0200)]
pan1321: Support JSEC and JPRO.

6 years agoUse frontend-registered callback with correct parameters
Bert Vermeulen [Sun, 1 Sep 2013 16:20:36 +0000 (18:20 +0200)]
Use frontend-registered callback with correct parameters

6 years agoxfp: Decoder for XFP I2C structures
Bert Vermeulen [Sat, 31 Aug 2013 09:18:49 +0000 (11:18 +0200)]
xfp: Decoder for XFP I2C structures

6 years agoIgnore __pycache__ entries
Bert Vermeulen [Sat, 31 Aug 2013 09:17:02 +0000 (11:17 +0200)]
Ignore __pycache__ entries

6 years agolpc: Bugfix: Sample data at rising clock edges.
Uwe Hermann [Tue, 13 Aug 2013 19:30:04 +0000 (21:30 +0200)]
lpc: Bugfix: Sample data at rising clock edges.

6 years agolpc: Various fixes to make the PD actually work.
Uwe Hermann [Tue, 13 Aug 2013 19:06:03 +0000 (21:06 +0200)]
lpc: Various fixes to make the PD actually work.

7 years agoFix double free
Bert Vermeulen [Thu, 23 May 2013 09:24:25 +0000 (11:24 +0200)]
Fix double free

7 years agoFix double free
Bert Vermeulen [Wed, 8 May 2013 20:25:37 +0000 (22:25 +0200)]
Fix double free

7 years agoDoxyfile: Set version to "unreleased development snapshot".
Uwe Hermann [Wed, 8 May 2013 14:46:07 +0000 (16:46 +0200)]
Doxyfile: Set version to "unreleased development snapshot".

7 years agoFix various memory leaks
Bert Vermeulen [Sun, 5 May 2013 15:20:13 +0000 (17:20 +0200)]
Fix various memory leaks

7 years agoUse enums for error codes and loglevels as in libsigrok. libsigrokdecode-0.2.0
Uwe Hermann [Fri, 3 May 2013 21:51:35 +0000 (23:51 +0200)]
Use enums for error codes and loglevels as in libsigrok.

7 years agoAdd srd_strerror() and srd_strerror_name().
Uwe Hermann [Fri, 3 May 2013 21:28:10 +0000 (23:28 +0200)]
Add srd_strerror() and srd_strerror_name().

7 years agolibsigrokdecode-internal.h: Cosmetics.
Uwe Hermann [Fri, 3 May 2013 21:09:53 +0000 (23:09 +0200)]
libsigrokdecode-internal.h: Cosmetics.

7 years agoNEWS: Minor updates.
Uwe Hermann [Fri, 3 May 2013 19:37:54 +0000 (21:37 +0200)]
NEWS: Minor updates.

7 years agoDoxygen: Various fixes.
Uwe Hermann [Fri, 3 May 2013 19:21:30 +0000 (21:21 +0200)]
Doxygen: Various fixes.

7 years agoMain header is <libsigrokdecode/libsigrokdecode.h> now.
Uwe Hermann [Fri, 3 May 2013 12:49:21 +0000 (14:49 +0200)]
Main header is <libsigrokdecode/libsigrokdecode.h> now.

This matches the convention used in libsigrok. Potential other headers
might end up in libsigrokdecode/, but only libsigrokdecode.h is meant
to be #included by frontends directly.

7 years agoDoxygen: Add @since markers to API functions.
Uwe Hermann [Fri, 3 May 2013 12:45:49 +0000 (14:45 +0200)]
Doxygen: Add @since markers to API functions.

Also, document the functions in version.c.

7 years agoHACKING: Document the @since Doxygen tag.
Uwe Hermann [Fri, 3 May 2013 12:31:11 +0000 (14:31 +0200)]
HACKING: Document the @since Doxygen tag.

7 years agoDoxyfile: Set version number to 0.2.0.
Uwe Hermann [Fri, 3 May 2013 12:22:01 +0000 (14:22 +0200)]
Doxyfile: Set version number to 0.2.0.

7 years agoUpdate package version to new 0.2.0 release
Bert Vermeulen [Fri, 3 May 2013 09:20:06 +0000 (11:20 +0200)]
Update package version to new 0.2.0 release

7 years agoGPL headers: Use correct project name.
Uwe Hermann [Tue, 23 Apr 2013 20:27:20 +0000 (22:27 +0200)]
GPL headers: Use correct project name.

7 years agoconfigure.ac: Show $build, $host, and lib versions.
Uwe Hermann [Mon, 15 Apr 2013 10:21:04 +0000 (12:21 +0200)]
configure.ac: Show $build, $host, and lib versions.

7 years agoconfigure.ac: Look for python-config-3.x besides python3.x-config.
Peter Stuge [Sat, 6 Apr 2013 13:01:25 +0000 (15:01 +0200)]
configure.ac: Look for python-config-3.x besides python3.x-config.

7 years agoREADME: Add "Copyright and license" section.
Uwe Hermann [Tue, 19 Mar 2013 23:03:03 +0000 (00:03 +0100)]
README: Add "Copyright and license" section.

7 years agouse GVariant for passing decoder options and probes
Bert Vermeulen [Tue, 19 Mar 2013 00:47:53 +0000 (01:47 +0100)]
use GVariant for passing decoder options and probes

Decoder options are now exposed in struct srd_decoder, via a GSList
of the new struct srd_decoder_option. The 'def' field represents
the default value as set in the decoder, converted to GVariant. This
allows a library user to determine the type as well as default value.

7 years agocode cleanup
Bert Vermeulen [Tue, 19 Mar 2013 00:01:25 +0000 (01:01 +0100)]
code cleanup

7 years agoconfigure.ac: Drop std-options, unneeded.
Uwe Hermann [Sun, 17 Mar 2013 12:21:35 +0000 (13:21 +0100)]
configure.ac: Drop std-options, unneeded.

The automake 'std-options' option checks whether all installed tools
and scripts have a --help and --version CLI option. This check is not
needed for libsigrokdecode though, since it doesn't install any tools.

7 years agoREADME: Refer to INSTALL and new Building wiki page.
Uwe Hermann [Sun, 17 Mar 2013 11:53:49 +0000 (12:53 +0100)]
README: Refer to INSTALL and new Building wiki page.

7 years agods1307: Fix date/day-of-week printing.
Uwe Hermann [Tue, 12 Mar 2013 14:12:09 +0000 (15:12 +0100)]
ds1307: Fix date/day-of-week printing.

7 years agoAdd Dallas DS1307 RTC protocol decoder
Matt Ranostay [Mon, 11 Mar 2013 08:03:20 +0000 (08:03 +0000)]
Add Dallas DS1307 RTC protocol decoder

Dallas DS1307 RTC protocol decoder that works stacked
with the I2C PD. Based on the rtc8564 protocol decoder.

Signed-off-by: Matt Ranostay <mranostay@gmail.com>
7 years agoDoxygen: Initial groups and topic short descriptions.
Uwe Hermann [Sat, 9 Feb 2013 21:25:15 +0000 (22:25 +0100)]
Doxygen: Initial groups and topic short descriptions.

7 years agoDoxygen: Add @file items for the relevant files.
Uwe Hermann [Sat, 9 Feb 2013 21:10:57 +0000 (22:10 +0100)]
Doxygen: Add @file items for the relevant files.

These short descriptions are shown in the "Files" section of the
Doxygen output.

7 years agoDoxygen: Mark private functions/variables properly.
Uwe Hermann [Sat, 9 Feb 2013 20:44:11 +0000 (21:44 +0100)]
Doxygen: Mark private functions/variables properly.

7 years agoDoxygen: Document how to mark private stuff.
Uwe Hermann [Sat, 9 Feb 2013 20:43:46 +0000 (21:43 +0100)]
Doxygen: Document how to mark private stuff.

7 years agoDoxygen: Add intro section and some docs.
Uwe Hermann [Sat, 9 Feb 2013 20:32:31 +0000 (21:32 +0100)]
Doxygen: Add intro section and some docs.

7 years agoAdd contrib/sigrok-logo-notext.png.
Uwe Hermann [Sat, 9 Feb 2013 20:07:53 +0000 (21:07 +0100)]
Add contrib/sigrok-logo-notext.png.

This is used in the generated Doxygen HTML output.

7 years agoDoxyfile: Update to match the libsigrok file/settings.
Uwe Hermann [Sat, 9 Feb 2013 20:03:08 +0000 (21:03 +0100)]
Doxyfile: Update to match the libsigrok file/settings.

This uses a template generated by Doyxgen 1.8.1.2 (like libsigrok
currently does) and adapts it to libsigrokdecode needs.