summaryrefslogtreecommitdiff
path: root/decoders
AgeCommit message (Collapse)Author
2014-08-14Add decoder for TCA6408A I2C I/O expanders.alberink
2014-08-14pdtests: Check for SamplerateError in all PDs that emit it.Uwe Hermann
2014-08-14parallel: Enforce that at least one pin must be provided.Uwe Hermann
2014-08-14spi/nrf24l01/uart: Use ChannelError exception.Uwe Hermann
Rename the old MissingDataError to the clearer ChannelError. Also, add ChannelError in the UART decoder.
2014-08-03nrf24l01: prettify annotation outputJens Steinhauser
2014-07-15All PDs: Minor whitespace and consistency fixes.Uwe Hermann
- No newlines at the end of files. - No trailing ';' characters. - Comparison with None: Use 'is None' or 'is not None'. - Comparison with True/False: Use 'if cond:' or 'if not cond:'. - Various minor whitespace fixes.
2014-07-09uart/i2cfilter: Don't check multiple-choice options.Uwe Hermann
For options which only have a limited set of valid values, we don't need to check (in the PD) whether a valid value was supplied, since the backend can do that for us.
2014-07-09Various PDs: Minor consistency fixes.Uwe Hermann
(Consistently use single-quotes for all Python strings everywhere)
2014-07-09Various PDs: Throw SamplerateError instead of Exception.Uwe Hermann
Also, use the "if not self.samplerate" form, which catches both the case where self.samplerate is None, as well as the case where it is 0.
2014-07-09All PDs: Drop unneeded exceptions.Uwe Hermann
In all current PDs it is not necessary to raise an exception upon invalid states (of the PD's state machine), since we can guarantee that no such invalid state can ever be reached in these PDs.
2014-07-08Add nRF24L01(+) protocol decoder.Jens Steinhauser
2014-07-08spi: Fix order of MISO/MOSI data items.Jens Steinhauser
2014-06-27spi: Add coverage tests for all exceptions.Bert Vermeulen
2014-06-27spi: Add coverage tests for all mosi/miso and lsb/msb combinations.Bert Vermeulen
2014-06-27spi: Refactor for more coverage, and remove dead code.Bert Vermeulen
2014-06-24edid: Add another test, covering more code in the PD.Bert Vermeulen
2014-06-23i2c: Generate proper exception for missing samplerate, and test for it.Bert Vermeulen
Also remove some dead code.
2014-05-03edid: s/annotation type/annotation class/.Uwe Hermann
2014-04-15All PDs: More consistent OUTPUT_PYTHON format docs.Uwe Hermann
2014-04-15sdcard_spi: Avoid duplicate keys in a Python dict.Uwe Hermann
This fixes bug #191.
2014-04-15All PDs: Bump api_version to 2.Uwe Hermann
Older libsigrokdecode versions are no longer able to use the current versions of the PDs (various changes in syntax etc).
2014-04-15All PDs: Drop some unneeded comments.Uwe Hermann
2014-04-15nunchuk: Fix PD to become usable in GUIs.Uwe Hermann
- Provide proper annotation classes and annotation rows. - Emit bit-exact annotations for some registers. - Output short and long annotations (for use when zooming). - Various minor fixes. This fixes bug #344.
2014-04-13Rename 'probe' to 'channel' everywhere.Uwe Hermann
Variables of type 'struct srd_channel *' are consistently named 'pdch' to make them easily distinguishable from libsigrok's 'struct sr_channel *' variables that are consistently named 'ch'.
2014-04-13z80: Fix incorrect license field.Uwe Hermann
2014-03-18usb_packet: Fix an incorrect index.Uwe Hermann
2014-03-18usb_packet: Provide better short/long annotations.Uwe Hermann
2014-03-18usb_signalling: Make each symbol an annotation class.Uwe Hermann
2014-03-18usb_signalling: Provide better short/long annotations.Uwe Hermann
2014-03-14Bring various test output files up to date.Bert Vermeulen
2014-03-12Various PDs: Minor option related fixes.Uwe Hermann
2014-03-12Various PDs: Drop currently unsupported probes in stacked PDs.Uwe Hermann
At the moment we don't yet support PDs which take both input from another PD (which they're stacked on top of) and from one or more logic inputs/pins. This will be supported later on, and at that time we'll bring back these changes.
2014-03-12can: Make sample_point a float option.Uwe Hermann
This allows users to set values like 70.5% or such.
2014-03-10ir_nec: Update to recent PD API changes.Uwe Hermann
2014-03-10ir_nec: Add support for higher-level remote control annotations.Uwe Hermann
2014-03-10ir_nec: Addresses and commands are transmitted LSB-first.Uwe Hermann
2014-03-10ir_nec: Add support for more fields.Uwe Hermann
Also show the AGC field(s) and pauses, the stop bit, and the individual address / address# and command / command# fields.
2014-03-10ir_nec: Drop some unneeded options.Uwe Hermann
The timing of the protocol is not really configurable, valid data in this protocol must always adhere to the same timing parameters, making them configurable should not be needed. Also: Only check for the "interesting" edges and simplify the code a bit.
2014-03-10Rename 'ir_nec6122' PD to 'ir_nec', minor fixes and simplifications.Uwe Hermann
This IR protocol is commonly referred to as "the NEC protocol", and can be generated by various means (not only via the NEC µPD6121/µPD6122 ICs). Drop some unneeded variables and fix/simplify the code a bit.
2014-03-10Add NEC IR protocol decoder.Gump Yang
2014-03-10Probes, optional probes and annotations now take a tuple.Bert Vermeulen
Annotation entries also consist of a tuple, not a list.
2014-03-10ir_rc5: Change PD options to be a tuple of dictionaries.Bert Vermeulen
2014-03-10Remove unused probes and optionsBert Vermeulen
2014-03-10Change PD options to be a tuple of dictionaries.Bert Vermeulen
Each option consists of a dictionary with the following keys: id The option id, which is passed in when setting a value. desc A description of the option, suitable for display. def The default value for this option. values (optional) If present, a tuple containing values the option may take. They must be of the same type as the default. Valid types for the options are UTF-8-encoded strings, integers, and floating point values.
2014-03-06onewire_link: Replaced us with µsJoel Holdsworth
2014-03-05ir_rc5: Fix incorrect bit length of RC-5 packets.Uwe Hermann
All RC-5 packets are 14 bits long.
2014-03-05ir_rc5: Don't throw exception upon invalid edge distances.Uwe Hermann
Instead, reset the state machine and continue with the rest of the data.
2014-03-05ir_rc5: Only determine edge type once.Uwe Hermann
2014-03-03Add initial RC-5 IR protocol decoder.Uwe Hermann
2014-03-02z80: Use methods directly as state values.Daniel Elstner