'show transmitted data as hex dump'

def tx(self, data):

    if self.color:
        self.output.write(self.tx_color)
    for (offset, row) in hexdump(data):
        self.write_line((time.time() - self.start_time), 'TX', '{:04X}        '.format(offset), row)
