summaryrefslogtreecommitdiff
path: root/decoders
AgeCommit message (Collapse)Author
2012-01-12srd: Decoders: Cosmetics and whitespace fixes.Uwe Hermann
- Remove superfluous whitespace. - Add URLs and more info. - Consistently use ' instead of " for Python strings.
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: annotation -> annotations.Uwe Hermann
In the PDs (Python code), the 'annotation' variable/attribute is a list of annotation formats. Use the plural 'annotations' as we do for other lists such as 'inputs', 'outputs', 'probes', 'options', and so on.
2012-01-10srd: Finish consistency rename to ANN/PROTO.Uwe Hermann
2012-01-10srd: Fix typo in Makefile.am.Uwe Hermann
2012-01-10srd: Add Panasonic PAN1321 decoder (on top of UART).Uwe Hermann
This is just a first prototype implementation, it's not finished at all.
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-10Stacked protocol decoders implementation.Bert Vermeulen
The DDC decoder takes input from the I2C PD.
2012-01-09srd: change output_new() API call to add()Bert Vermeulen
2012-01-08i2c: fix address handlingBert Vermeulen
2012-01-07srd: UART: Define an output format and document it.Uwe Hermann
This is a first attempt, might not be finished or finalized.
2012-01-07srd: UART: Add more aliases, report invalid bits.Uwe Hermann
2012-01-07srd: UART: Update to new PD annotation API.Uwe Hermann
2012-01-07srd: UART: Drop 'quick_hack' stuff.Uwe Hermann
2012-01-07expose SRD_OUTPUT_* as symbols in the sigrokdecode module.Bert Vermeulen
2012-01-07Decoder.output_new() now takes an extra protocol_id argument.Bert Vermeulen
2012-01-07convert data coming in from a PD to C structsBert Vermeulen
This is in preparation for passing annotation data back to the calling frontend, and python data up to the next protocol in the stack.
2012-01-05srd: We use 0/1 instead of False/True at the moment.Uwe Hermann
2012-01-05srd: Update mx25lxx05d.py to new API.Uwe Hermann
2012-01-05srd: Update nunchuk decoder to new API.Uwe Hermann
2012-01-05srd: Update transitioncounter to the new API.Uwe Hermann
2012-01-05srd: Update USB decoder to the new API.Uwe Hermann
2012-01-05srd: Update the SPI decoder to the new API.Uwe Hermann
2012-01-05srd: Convert UART decoder to new API.Uwe Hermann
2012-01-05new srd_logic type implementation for PDs to iterate over.Bert Vermeulen
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 nunchuk.py work again.Uwe Hermann
2012-01-03srd: Quick hack to make mx25lxx05d.py work again.Uwe Hermann
In Python 3 there's no xrange() anymore, only range().
2012-01-03srd: Quick hack to make transitioncounter.py work again.Uwe Hermann
2012-01-03srd: Quick hack to make the USB decoder work again.Uwe Hermann
2012-01-03srd: Quick hack to make the SPI decoder work again.Uwe Hermann
Since Python 3 there are some explicit int() casts needed.
2012-01-03srd: Quick hack to make the UART decoder work again.Uwe Hermann
2011-12-28python 3 portBert Vermeulen
2011-12-28make time/duration work, at least when loading from a session fileBert Vermeulen
PD decode() call now takes 3 arguments: timeoffset, duration, data as per the current API specification.
2011-12-28new dynamic output stream registration code, not finished.Bert Vermeulen
2011-12-17srd: Add MX25Lxx05D SPI chip decoder.Uwe Hermann
Work in progress, not yet fully functional.
2011-12-10srd: nunchuk: Make states global.Uwe Hermann
2011-12-10srd: decoders: Don't use problematic and/or construct.Uwe Hermann
2011-12-10srd: UART: Simplify a code snippet.Uwe Hermann
2011-12-10srd: UART: Add some protocol documentation.Uwe Hermann
2011-12-07srd: Add initial UART decoder.Uwe Hermann
Works with any baudrate, number of bits, parity types, number of stop bits and so on, in theory. Not all options are fully implemented or tested though. Various TODOs remain.
2011-12-04srd: Update decoders to changed API.Uwe Hermann
2011-12-04refactored PD framework, now using new sigrok.Decoder objectBert Vermeulen
This uses the new python unified type/class object API to construct an object for PDs to subclass. The sigrok.Decoder class has a method put() which is implemented as a C function, and receives the PD's object instance as its first parameter.
2011-12-02srd: Changed nunchuk and transitioncounter to new registraion api.Gareth McMullin
2011-12-01srd: PDs now explicitly register with sigrok module.Gareth McMullin