summaryrefslogtreecommitdiff
path: root/decoders/cc1101/pd.py
AgeCommit message (Collapse)Author
2019-04-19cc1101: Use namedtuple to increase readability a bit.Uwe Hermann
2019-04-19cc1101: Remove 0x prefixes and unneeded quotation marks.Uwe Hermann
The format "0xAA BB CC ..." looks a bit strange, use "AA BB CC" instead, it's relatively obvious that the data is hex-encoded. The quotation marks around some names/values are unneeded and reduce readability a bit, so drop them.
2019-04-19cc1101: Shorten decode_register() to decode_reg().Uwe Hermann
2019-04-19cc1101: Simplify decode_command().Uwe Hermann
By using the annotation strings as command names directly, some parts of decode_command() can be simplified a bit.
2019-04-19cc1101: Simplify format_command().Uwe Hermann
2019-04-19cc1101: Factor out and simplify ANN_* names.Uwe Hermann
2019-04-19Add a TI CC1101 decoder.Marco