summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-12uart: Make data format selection a PD option.Uwe Hermann
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').
2013-09-12uart: Use T for stop bit, P for parity bit.Uwe Hermann
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.
2013-09-12uart: Don't prefix databyte output numbers.Uwe Hermann
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.
2013-09-12uart: Fix corner-case that can occur with LA triggers.Uwe Hermann
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).
2013-09-12uart: Fix start-/end-sample numbers.Uwe Hermann
This now makes the UART decoder suitable for use in GUIs. This fixes bug #148.
2013-09-10can: Use annotation abbreviations.Uwe Hermann
Supply long, middle, and short versions for most annotations, so that GUIs can show nicely readable and useful annotations on various zoom levels.
2013-09-10can: Fix annotation start/end samples.Uwe Hermann
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.
2013-09-10can: Prepare for fixing annotation start/end samples.Uwe Hermann
2013-09-08i2c: Fix corner-case that can occur with LA triggers.Uwe Hermann
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.
2013-09-03i2s: Fixed annotation sample numbersJoel Holdsworth
2013-09-02pan1321: Improve commands documentation.Uwe Hermann
2013-09-02pan1321: Initial JSDA support.Uwe Hermann
2013-09-02pan1321: Add support for JAAC.Uwe Hermann
2013-09-02pan1321: Properly check for \r\n, not just \n.Uwe Hermann
2013-09-02pan1321: Code simplifications.Uwe Hermann
2013-09-02pan1321: Add warnings for invalid protocol usage.Uwe Hermann
2013-09-02pan1321: Support JSEC and JPRO.Uwe Hermann
2013-09-01Use frontend-registered callback with correct parametersBert Vermeulen
2013-08-31xfp: Decoder for XFP I2C structuresBert Vermeulen
2013-08-31Ignore __pycache__ entriesBert Vermeulen
2013-08-14lpc: Bugfix: Sample data at rising clock edges.Uwe Hermann
2013-08-14lpc: Various fixes to make the PD actually work.Uwe Hermann
2013-05-23Fix double freeBert Vermeulen
2013-05-08Fix double freeBert Vermeulen
2013-05-08Doxyfile: Set version to "unreleased development snapshot".Uwe Hermann
2013-05-05Fix various memory leaksBert Vermeulen
2013-05-04Use enums for error codes and loglevels as in libsigrok.Uwe Hermann
2013-05-04Add srd_strerror() and srd_strerror_name().Uwe Hermann
2013-05-03libsigrokdecode-internal.h: Cosmetics.Uwe Hermann
2013-05-03NEWS: Minor updates.Uwe Hermann
2013-05-03Doxygen: Various fixes.Uwe Hermann
2013-05-03Main header is <libsigrokdecode/libsigrokdecode.h> now.Uwe Hermann
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.
2013-05-03Doxygen: Add @since markers to API functions.Uwe Hermann
Also, document the functions in version.c.
2013-05-03HACKING: Document the @since Doxygen tag.Uwe Hermann
2013-05-03Doxyfile: Set version number to 0.2.0.Uwe Hermann
2013-05-03Update package version to new 0.2.0 releaseBert Vermeulen
2013-04-23GPL headers: Use correct project name.Uwe Hermann
2013-04-15configure.ac: Show $build, $host, and lib versions.Uwe Hermann
2013-04-06configure.ac: Look for python-config-3.x besides python3.x-config.Peter Stuge
2013-03-20README: Add "Copyright and license" section.Uwe Hermann
2013-03-19use GVariant for passing decoder options and probesBert Vermeulen
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.
2013-03-19code cleanupBert Vermeulen
2013-03-17configure.ac: Drop std-options, unneeded.Uwe Hermann
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.
2013-03-17README: Refer to INSTALL and new Building wiki page.Uwe Hermann
2013-03-12ds1307: Fix date/day-of-week printing.Uwe Hermann
2013-03-12Add Dallas DS1307 RTC protocol decoderMatt Ranostay
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>
2013-02-09Doxygen: Initial groups and topic short descriptions.Uwe Hermann
2013-02-09Doxygen: Add @file items for the relevant files.Uwe Hermann
These short descriptions are shown in the "Files" section of the Doxygen output.
2013-02-09Doxygen: Mark private functions/variables properly.Uwe Hermann
2013-02-09Doxygen: Document how to mark private stuff.Uwe Hermann