summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-10-14Move all decoder instances and callbacks into a session structBert Vermeulen
The struct srd_session also holds configuration parameters formerly passed to srd_session_start(). The new call srd_session_new() takes a pointer where a newly allocated pointer to struct srd_session will be stored. This pointer must be passed as the first argument to all functions that require it. The SRD_CONF_NUM_PROBES, SRD_CONF_UNITSIZE and SRD_CONF_SAMPLERATE keys must be configured with srd_config_set() before srd_session_start() is called. A new call srd_session_destroy() is also available. This cleans up all resources the session holds. This is also called from srd_exit() for all sessions.
2013-10-14Code cleanupBert Vermeulen
2013-10-13i2s_dump: Fix bug in the WAV output format generation.Uwe Hermann
2013-10-13Add new i2s_dump protocol decoder.Uwe Hermann
This stacks of top of the 'i2s' decoder and outputs the audio data to file (or stdout) in various formats. Currently only WAV is supported. This is work in progress, it has various hard-coded assumptions.
2013-10-13tlc5620: Output short/long annotations.Uwe Hermann
This fixes (the remaining parts of) bug #168.
2013-10-13tlc5620: Use annotation types.Uwe Hermann
This fixes parts of bug #168.
2013-10-13lpc: Initial start-/end-sample support.Uwe Hermann
This fixes (parts of) bug #163.
2013-10-13lpc: Use annotation types.Uwe Hermann
This fixes (parts of) bug #163.
2013-10-13lpc: Make the RESET# pin optional.Uwe Hermann
2013-10-13lpc: Fix handling of optional probes.Uwe Hermann
2013-10-13lpc: Add annotation helper method.Uwe Hermann
This fixes (parts of) bug #163.
2013-10-11usb_signalling: Drop packet handling.Uwe Hermann
The usb_signalling PD should not care about packets, only symbols and bits. The new (fixed) usb_packet PD constructs packets out of individual bits now.
2013-10-11usb_packet: Major rewrite, e.g. to prepare for GUI usage.Uwe Hermann
Restructure the PD into a state machine, output individual packet components as separate annotations, define a protocol output format and implement it (so that other PDs can stack on top of this one), and fix various other isses in the PD.
2013-10-11Rename usb_protocol to usb_packet.Uwe Hermann
There will be further PDs that are stacked on top of usb_packet.
2013-10-11usb_signalling: Document protocol output format.Uwe Hermann
Also, add missing output for some packet types.
2013-10-09onewire_link: Provide short/long annotations.Uwe Hermann
2013-10-09onewire_link: Fix typos.Uwe Hermann
2013-10-09onewire_link: Split "reset" and "presence" annotations.Uwe Hermann
This needs a few more fixes later, but it's a start.
2013-10-09onewire_link: Default the 'overdrive' option to 'no'.Uwe Hermann
2013-10-08onewire_link: Use defaults for the PD options.Uwe Hermann
This also simplifies the PD code a bit.
2013-10-08onewire_link: Drop PD info not useful for the user.Uwe Hermann
2013-10-08onewire_link: Use annotation types.Uwe Hermann
This fixes bug #147.
2013-10-08onewire_link: Add/use annotation helpers.Uwe Hermann
2013-10-08i2s: Add shorter and longer annotations for GUI use.Uwe Hermann
This fixes (the remaining parts of) bug #162.
2013-10-08i2s: Define/use common proto out format.Uwe Hermann
2013-10-08i2s: Add helper methods for annotation/proto output.Uwe Hermann
2013-10-08i2s: Use annotation types.Uwe Hermann
This fixes parts of bug #162.
2013-10-06Add initial MIDI protocol decoder.Uwe Hermann
This supports a certain number of MIDI messages already, but not yet all of them. More will be added later.
2013-09-29usb_signalling: Fix packet annotation.Uwe Hermann
2013-09-29usb_signalling: Fix EOP handling and annotation.Uwe Hermann
2013-09-29usb_signalling: Properly use different annotation types.Uwe Hermann
2013-09-29usb_signalling: Fix decode of individual bits.Uwe Hermann
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).
2013-09-20usb_signalling: Simplify symbols handling a bit.Uwe Hermann
2013-09-20usb_signalling: Refactor/simplify bitrate/bitwidth handling.Uwe Hermann
2013-09-15usb_signalling: Fix start/end sample numbers.Uwe Hermann
This makes the decoder suitable for GUI usage. This fixes bug #155.
2013-09-15dcf77: Fix date parity check.Uwe Hermann
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.
2013-09-15dcf77: Provide short and long annotations.Uwe Hermann
2013-09-15dcf77: Fix multi-bit DCF77 field annotations.Uwe Hermann
2013-09-15dcf77: Consistency renames.Uwe Hermann
2013-09-15dcf77: Drop PON pin handling.Uwe Hermann
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.
2013-09-15dcf77: Use proper annotations for DCF77 components.Uwe Hermann
2013-09-15dcf77: Fix bug in handling of DCF77 bit 0.Uwe Hermann
2013-09-15dcf77: Fix start-/end-sample numbers.Uwe Hermann
This fixes bug #154.
2013-09-14i2c: Drop unneeded 'addressing' option.Uwe Hermann
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.
2013-09-14i2c: Drop obsolete TODOs.Uwe Hermann
2013-09-14i2c: Move OUTPUT_PROTO docs to pd.py.Uwe Hermann
2013-09-14i2c: Moved extensive protocol docs to the wiki.Uwe Hermann
2013-09-14i2c: Various fixes to make the PD suitable for GUIs.Uwe Hermann
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.
2013-09-12spi: Add some documentation, move OUTPUT_PROTO docs.Uwe Hermann
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.
2013-09-12spi: Make CS# optional and use it if supplied.Uwe Hermann
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.