'Discover target slave address and channel number.'

def discover_slave_channel(self):

    file_path = tempfile.mkstemp()[1]
    self._dump_sdr_file(data_file=file_path)
    ret = self._parse_slave_and_channel(file_path)
    slave_address = ''.join(['0x', ret[0]])
    channel = ''.join(['0x', ret[1]])
    self.channel_slave = ((('-b    ' + channel) + '    -t    ') + slave_address)
