ACCEL = 2
class Decoder(srd.Decoder):
+ api_version = 1
id = 'ebr30a_i2c_demux'
name = 'EBR30-a I2C demux'
longname = 'TrekStor EBR30-a I2C demux'
longdesc = 'TODO.'
license = 'gplv2+'
inputs = ['i2c']
- outputs = ['i2c-axp199', 'i2c-h8563s', 'i2c-accel']
+ outputs = ['i2c-axp199', 'i2c-h8563s', 'i2c-accel'] # TODO: type vs. inst.
probes = []
+ optional_probes = []
options = {}
annotations = []
print('Error: Could not determine correct stream!') # FIXME
self.packets = []
self.stream = -1
+ else:
+ pass # Do nothing, only add the I2C packet to our cache.