def create_response_pdu(self, data):
log.debug('<STR_LIT>'.format(data))<EOL>fmt = '<STR_LIT>' + conf.TYPE_CHAR * len(data)<EOL>return struct.pack(fmt, self.function_code, len(data) * <NUM_LIT:2>, *data)<EOL>
Create response pdu.

        :param data: A list with values.
        :return: Byte array of at least 4 bytes.