ekmmeters.py
def request(self, send_terminator = False):
        """Required request() override for v3 and standard method to read meter.

        Args:
            send_terminator (bool): Send termination string at end of read.

        Returns:
            bool: CRC request flag result from most recent read
        """
        self.m_a_crc = False
        start_context = self.getContext()
        self.setContext("request[v3A]")
        try:
            self.m_serial_port.write("2f3f".decode("hex") +
                                     self.m_meter_address +
                                     "210d0a".decode("hex"))
            self.m_raw_read_a = self.m_serial_port.getResponse(self.getContext())
            unpacked_read_a = self.unpackStruct(self.m_raw_read_a, self.m_blk_a)
            self.convertData(unpacked_read_a, self.m_blk_a, 1)
            self.m_a_crc = self.crcMeterRead(self.m_raw_read_a, self.m_blk_a)
            if send_terminator:
                self.serialPostEnd()
            self.calculateFields()
            self.makeReturnFormat()
        except:
            ekm_log(traceback.format_exc(sys.exc_info()))

        self.setContext(start_context)
        return self.m_a_crc
def request(self, send_terminator = False):
        """Required request() override for v3 and standard method to read meter.

        Args:
            send_terminator (bool): Send termination string at end of read.

        Returns:
            bool: CRC request flag result from most recent read
        """
        self.m_a_crc = False
        start_context = self.getContext()
        self.setContext("request[v3A]")
        try:
            self.m_serial_port.write("2f3f".decode("hex") +
                                     self.m_meter_address +
                                     "210d0a".decode("hex"))
            self.m_raw_read_a = self.m_serial_port.getResponse(self.getContext())
            unpacked_read_a = self.unpackStruct(self.m_raw_read_a, self.m_blk_a)
            self.convertData(unpacked_read_a, self.m_blk_a, 1)
            self.m_a_crc = self.crcMeterRead(self.m_raw_read_a, self.m_blk_a)
            if send_terminator:
                self.serialPostEnd()
            self.calculateFields()
            self.makeReturnFormat()
        except:
            ekm_log(traceback.format_exc(sys.exc_info()))

        self.setContext(start_context)
        return self.m_a_crc
Required request() override for v3 and standard method to read meter.

        Args:
            send_terminator (bool): Send termination string at end of read.

        Returns:
            bool: CRC request flag result from most recent read