pytelemetry/pytelemetry.py
def stats(self):
        """
Returns a dictionnary of dictionnary that contains critical information
about the transport and protocol behavior, such as:
   * amount of received frames
   * amount of badly delimited frames
   * amount of correctly delimited but still corrupted frames
   * etc
        """
        d = dict()
        d['framing'] = self.api.delimiter.stats()
        d['protocol'] = self.api.stats()

        return d
def stats(self):
        """
Returns a dictionnary of dictionnary that contains critical information
about the transport and protocol behavior, such as:
   * amount of received frames
   * amount of badly delimited frames
   * amount of correctly delimited but still corrupted frames
   * etc
        """
        d = dict()
        d['framing'] = self.api.delimiter.stats()
        d['protocol'] = self.api.stats()

        return d
def stats ( self ) : d = dict ( ) d [ 'framing' ] = self . api . delimiter . stats ( ) d [ 'protocol' ] = self . api . stats ( ) return d
Returns a dictionnary of dictionnary that contains critical information
about the transport and protocol behavior, such as:
   * amount of received frames
   * amount of badly delimited frames
   * amount of correctly delimited but still corrupted frames
   * etc
Returns a dictionnary of dictionnary that contains critical information about the transport and protocol behavior such as : * amount of received frames * amount of badly delimited frames * amount of correctly delimited but still corrupted frames * etc