fritzconnection/lib/fritzstatus.py
def bytes_received(self):
        """Total number of received bytes."""
        try:
            status = self.fc.call_action("WANCommonIFC1", "GetAddonInfos")
            value = status["NewX_AVM_DE_TotalBytesReceived64"]
        except KeyError:
            # fallback for older FritzOS Versions not providing a 64 bit value:
            status = self.fc.call_action(
                "WANCommonIFC1", "GetTotalBytesReceived"
            )
            value = status["NewTotalBytesReceived"]
        return _integer_or_original(value)
Total number of received bytes.
Total number of received bytes.
Total number of received bytes .
def bytes_received(self):
        try:
            status = self.fc.call_action("WANCommonIFC1", "GetAddonInfos")
            value = status["NewX_AVM_DE_TotalBytesReceived64"]
        except KeyError:
            status = self.fc.call_action(
                "WANCommonIFC1", "GetTotalBytesReceived"
            )
            value = status["NewTotalBytesReceived"]
        return _integer_or_original(value)
def bytes_received ( self ) : try : status = self . fc . call_action ( "WANCommonIFC1" , "GetAddonInfos" ) value = status [ "NewX_AVM_DE_TotalBytesReceived64" ] except KeyError : status = self . fc . call_action ( "WANCommonIFC1" , "GetTotalBytesReceived" ) value = status [ "NewTotalBytesReceived" ] return _integer_or_original ( value )
Total number of received bytes.
Total number of received bytes .
"""Total number of received bytes.""" # fallback for older FritzOS Versions not providing a 64 bit value:
self