summaryrefslogtreecommitdiff
path: root/decoders/transitioncounter.py
AgeCommit message (Collapse)Author
2012-01-14srd: Fix transitioncounter protocol decoder.Uwe Hermann
2012-01-12srd: decoders: Rename obsolete timeoffset/duration.Uwe Hermann
2012-01-12srd: decoders: Metadata consistency fixes/updates.Uwe Hermann
2012-01-12srd: Drop duplicate SRD_ prefix from ANN/PROTO.Uwe Hermann
Using srd.SRD_OUTPUT_ANN is unneeded, srd.OUTPUT_ANN is better/shorter.
2012-01-10srd: Drop useless out_ann/out_proto init.Uwe Hermann
If those variables are used before start() was called, that's a bug anyway.
2012-01-10srd: Use 'import sigrokdecode as srd' for brevity.Uwe Hermann
2012-01-10srd: Finish consistency rename to ANN/PROTO.Uwe Hermann
2012-01-10srd: self.add: Use sigrokdecode.SRD_OUTPUT_*.Uwe Hermann
2012-01-10srd: output_{protocol,annotation} -> out_{proto,ann}.Uwe Hermann
2012-01-10srd: s/output_new/add/ for all decoders.Uwe Hermann
2012-01-05srd: Update transitioncounter to the new API.Uwe Hermann
2012-01-03srd: Remove decode() docstrings.Uwe Hermann
This info is in the decoder's metadata, where the frontends can get it from programmatically anyway.
2012-01-03srd: *.py: Remove one incorrect ord() call.Uwe Hermann
While 'data' is of type 'bytes', 'data[0]' for example is of type 'int', thus the ord() there is neither needed nor correct anymore (yields an error).
2012-01-03srd: Quick hack to make transitioncounter.py work again.Uwe Hermann
2011-12-04srd: Update decoders to changed API.Uwe Hermann
2011-12-02srd: Changed nunchuk and transitioncounter to new registraion api.Gareth McMullin
2011-11-27decoders: Drop psyco stuff, seems obsolete.Uwe Hermann
The psyco module seems to be mostly unmaintained at this point, it does not support Python 2.7 or higher at all, it only supports x86, it doesn't support 64 bit systems at all, etc. etc. We should try to find other ways to optimize our decoders for speed.
2011-11-27srd: Python: Consistently use single quotes for strings.Uwe Hermann
2011-11-27srd: Pass metadata to decoders only on SR_DF_HEADER.Gareth McMullin
Before this was passed to the decoder's constuctor, but the parameters may not all be known at construction. Decoders now have a method start() which is called at the start of the capture, and metadata is passed as an arg to this function.
2011-11-23transitioncounter.py: Convert to new API.Uwe Hermann
This is still work-in-progress, but at least it runs and outputs stuff now.
2011-11-23Decoders: Use 4 spaces for indentation as per PEP-8.Uwe Hermann
2011-11-20Pass multiple samples to the protocol decoder and adapt transitioncounter.py ↵Kristoffer Sjöberg
to work with this.
2011-11-20Update transitioncounter.py to the streaming PD API.Kristoffer Sjöberg
2011-11-20Partial implementation of the streaming PD API.Kristoffer Sjöberg
2011-02-06Python decoders: Add more metadata.Uwe Hermann
Make the list of metadata info match the spec in the wiki more closely.
2011-01-10Rename the scripts/ directory to decoders/.Uwe Hermann