X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=doc%2Fcounter-api.txt;h=c0d9b76954f716b6f8b97126e1d404294cd7444d;hb=132afd1b759135225e1582fce0125759b8580d9e;hp=28ec662894e6c58526f1a6633f8c78d98e0db750;hpb=f40f0a4eed273c7beeb506126abde1989335eded;p=platform%2Fupstream%2Fconnman.git diff --git a/doc/counter-api.txt b/doc/counter-api.txt old mode 100644 new mode 100755 index 28ec662..c0d9b76 --- a/doc/counter-api.txt +++ b/doc/counter-api.txt @@ -2,7 +2,7 @@ Counter hierarchy ================= Service unique name -Interface org.moblin.connman.Counter +Interface net.connman.Counter Object path freely definable Methods void Release() @@ -13,13 +13,21 @@ Methods void Release() counter, because when this method gets called it has already been unregistered. - void Usage(object service, dict) + void Usage(object service, dict home, dict roaming) This signal indicates a change in the counter values for the service object. The counter is reset by calling the service ResetCounters method. - The dict argument contains following entries: + When registering a new counter this method will be + called once with all details for "home" and "roaming" + counters filled in. Every further method call will + only include the changed values. + + When "home" counter is active, then "roaming" counter + will contain an empty dictionary and vise-versa. + + The dictionary argument contains the following entries: RX.Packets @@ -39,12 +47,12 @@ Methods void Release() RX.Errors - Total number of erronous packets + Total number of erroneous packets received. TX.Errors - Total number of erronous packets + Total number of erroneous packets sent. RX.Dropped