<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parseReaderConfig(self, confdict):
 """Parse a reader configuration dictionary. Examples: { Type: 23, Data: b'\x00' } { Type: 1023, Vendor: 25882, Subtype: 21, Data: b'\x00' } """

        logger.debug('parseReaderConfig input: %s', confdict)
        conf = {}
        for k, v in confdict.items():
            if not k.startswith('Parameter'):
                continue
            ty = v['Type']
            data = v['Data']
            vendor = None
            subtype = None
            try:
                vendor, subtype = v['Vendor'], v['Subtype']
            except KeyError:
                pass

            if ty == 1023:
                if vendor == 25882 and subtype == 37:
                    tempc = struct.unpack('!H', data)[0]
                    conf.update(temperature=tempc)
            else:
                conf[ty] = data
        return conf