ekmmeters.py
def requestA(self):
        """Issue an A read on V4 meter.

        Returns:
            bool: True if CRC match at end of call.
        """
        work_context = self.getContext()
        self.setContext("request[v4A]")
        self.m_serial_port.write("2f3f".decode("hex") + self.m_meter_address + "3030210d0a".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)
        self.m_kwh_precision = int(self.m_blk_a[Field.kWh_Scale][MeterData.NativeValue])
        self.m_a_crc = self.crcMeterRead(self.m_raw_read_a, self.m_blk_a)
        self.setContext(work_context)
        return self.m_a_crc
def requestA(self):
        """Issue an A read on V4 meter.

        Returns:
            bool: True if CRC match at end of call.
        """
        work_context = self.getContext()
        self.setContext("request[v4A]")
        self.m_serial_port.write("2f3f".decode("hex") + self.m_meter_address + "3030210d0a".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)
        self.m_kwh_precision = int(self.m_blk_a[Field.kWh_Scale][MeterData.NativeValue])
        self.m_a_crc = self.crcMeterRead(self.m_raw_read_a, self.m_blk_a)
        self.setContext(work_context)
        return self.m_a_crc
Issue an A read on V4 meter.

        Returns:
            bool: True if CRC match at end of call.