Improve sniffer output
This is the change I made to display all data sent to the chip. The output is now like this (this is one cycle of the Windows Aura service driving an effect):
Wrote to addr 4e, cmd 00 [8022]
Wrote to addr 4e, cmd 01 [00]
Wrote to addr 4e, cmd 00 [8023]
Wrote to addr 4e, cmd 01 [00]
Wrote to addr 4e, cmd 00 [8020]
Wrote to addr 4e, cmd 01 [01]
Wrote to addr 4e, cmd 00 [8100]
Wrote to addr 4e, cmd 03 [74 00 74 00 0e 74 00 1c 74 00 02 74 00 23 74 00]
Wrote to addr 4e, cmd 03 [74 00 23 74 00 00 74 00]
Wrote to addr 4e, cmd 00 [80a0]
Wrote to addr 4e, cmd 01 [01]
SMbus "commands" I have seen are either 0 (16-bit word data), 1 (byte data) or 3 (block data); the data itself is between brackets. The tool deserves some extra work to get its own executable in the main branch, I might look into that one of these days.
Edited by Steven Franzen