api_version = 3
id = 'miller'
name = 'Miller'
- longname = 'Miller decoder for NFC'
- desc = 'Decodes (modified) Miller encoding as used in NFC communication.'
+ longname = 'Miller encoding'
+ desc = 'Miller encoding protocol.'
license = 'gplv2+'
inputs = ['logic']
- outputs = ['miller']
+ outputs = []
+ tags = ['Encoding']
channels = (
{'id': 'data', 'name': 'Data', 'desc': 'Data signal'},
)
('bit', 'Bit'),
('bitstring', 'Bitstring'),
)
- annotation_rows = tuple((u, v, (i,)) for i, (u, v) in enumerate(annotations))
+ annotation_rows = tuple((u + 's', v + 's', (i,)) for i, (u, v) in enumerate(annotations))
binary = (
('raw', 'Raw binary'),
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
self.samplerate = None
def metadata(self, key, value):