'Parse the dumped file to get slave address and channel number.
:param file_path: file path of dumped SDR file.
:return: slave address and channel number of target device or None if
not found.'

@staticmethod
def _parse_slave_and_channel(file_path):

    prefix = INTEL_PREFIX
    with open(file_path, 'rb') as bin_fp:
        data_str = binascii.hexlify(bin_fp.read())
    if six.PY3:
        data_str = data_str.decode('ascii')
    oem_id_index = data_str.find(prefix)
    if (oem_id_index != (-1)):
        ret = data_str[(oem_id_index + len(prefix)):((oem_id_index + len(prefix)) + 4)]
        return (ret[0:2], ret[2])
