summaryrefslogtreecommitdiff
path: root/decoders/ir_rc5
AgeCommit message (Collapse)Author
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-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-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-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