summaryrefslogtreecommitdiff
path: root/decoders/usb_signalling
AgeCommit message (Collapse)Author
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-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-03-18usb_signalling: Make each symbol an annotation class.Uwe Hermann
2014-03-18usb_signalling: Provide better short/long annotations.Uwe Hermann
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-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-02-01usb_signalling: Define annotation rows.Uwe Hermann
2014-01-30s/out_proto/out_python/.Uwe Hermann
The output type is now called OUTPUT_PYTHON, adapt all PDs to that.
2014-01-28All PDs: Drop unneeded comments.Uwe Hermann
The single comment re-stating the PD's name / description / purpose in each pd.py file is not really needed, that info is available in the Decoder class' attributes already.
2014-01-28All PDs: Improve/fix descriptions.Uwe Hermann
2013-11-27Automate protocol decoder installation.Bert Vermeulen
This automatically figures out the files to install for each protocol decoder, without involving autotools. All python files (filenames ending in .py) are always installed. If a protocol decoder requires installation of a non-python file, a small file called 'config' can be created in that protocol decoder's directory, with the following content: # comments are ok extra-install vendorlist.txt commands.txt
2013-11-15Drop obsolete report() method.Bert Vermeulen
2013-11-15Use the new Decoder.register() APIBert Vermeulen
2013-11-07Rename inter-PD output type to SRD_OUTPUT_PYTHONBert Vermeulen
This better reflects what it is: a python object generated and processed by python code.
2013-10-30Receive samplerate via metadata(), not start()Bert Vermeulen
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_signalling: Document protocol output format.Uwe Hermann
Also, add missing output for some packet types.
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-04-23GPL headers: Use correct project name.Uwe Hermann
2013-01-01Small cosmetic/consistency fixes in the PDs.Uwe Hermann
2012-11-24All PDs: Name the files pd.py consistently.Uwe Hermann
The Python module name is determined by the directory name (e.g. dcf77), the *.py file names in that directory don't matter and can be kept consistent.
2012-07-11srd: Performance improvements for various PDs.Uwe Hermann
Ignore/skip identical samples in most (low-level) PDs, as we're usually (but not necessarily always) only interested in pin changes. This yields a significant performance improvement for the PDs. The mechanism was already used in the 'i2s', 'jtag', and 'lpc' PDs, but not yet in all supported low-level decoders. The following PDs now also use this mechanism: 'dcf77', 'i2c', 'spi', 'uart', and 'usb_signalling'. Thanks Lars-Peter Clausen <lars@metafoo.de> for bringing this to our attention.
2012-06-21srd: Split USB decoder in two PDs (which stack).Uwe Hermann
The 'usb_signalling' decoder just decodes symbols from D+/D- levels, handles bit stuffing and outputs the symbols and (potential) packets. The 'usb_protocol' decoder takes that output and tried to parse USB packets from it (SOF, SETUP, IN, OUT, DATA0, and so on). This is the base decoder on top of which various others will stack later on. The two new PDs are work in progress, so we still keep the old 'usb' PD around for a little while, until the two new ones are fully working and well-tested.