[maemo-developers] Starting a 3G traffic monitoring application for N900: some questions

From: Mikko Mehtonen mikko.mehtonen at vincit.fi
Date: Tue Nov 30 09:37:34 EET 2010
2010/11/29 a.grandi at gmail.com <a.grandi at gmail.com>

> Hi,
>
> On 29 November 2010 15:26, Andrea Borgia <andrea at borgia.bo.it> wrote:
> > Andrea, pardon my asking but... what is wrong with the internal data
> > counter? (Settings, Phone, Home/Roaming Data counter)
> > I guess it could be accessed programmatically.
>
> the internal data counter uses dbus maybe.... and I think it's better
> to use dbus at this point thab trying to query internal datacounter.
>

Please take a look at gconf: /system/osso/connectivity/network_type/GPRS
keys "gprs_tx_bytes" and "gprs_rx_bytes" contains information you need.

-- 
Mikko Mehtonen
mikko.mehtonen at vincit.fi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20101130/6b2e7e0d/attachment.htm>
More information about the maemo-developers mailing list