}
class Decoder(srd.Decoder):
- api_version = 1
+ api_version = 2
id = 'onewire_network'
name = '1-Wire network layer'
longname = '1-Wire serial communication bus (network layer)'
license = 'gplv2+'
inputs = ['onewire_link']
outputs = ['onewire_network']
- probes = []
- optional_probes = []
- options = {}
- annotations = [
- ['text', 'Human-readable text'],
- ]
+ annotations = (
+ ('text', 'Human-readable text'),
+ )
def __init__(self, **kwargs):
self.beg = 0