api_version = 1
id = 'i2cdemux'
name = 'I2C demux'
- longname = 'Generic I2C demultiplexer'
- desc = 'TODO.'
- longdesc = 'TODO.'
+ longname = 'I2C demultiplexer'
+ desc = 'Demux I2C packets into per-slave-address streams.'
license = 'gplv2+'
inputs = ['i2c']
outputs = [] # TODO: Only known at run-time.
# get the whole chunk of packets (from START to STOP).
def decode(self, ss, es, data):
- cmd, databyte, ack = data
+ cmd, databyte = data
# Add the I2C packet to our local cache.
self.packets.append([ss, es, data])