For Programmers: Free Programming Magazines  


Home > Archive > Smartphone Developer Forum > March 2006 > GPRS Data Counters?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author GPRS Data Counters?
James Hamilton

2006-03-13, 7:01 pm

I'm looking for sample code or pointers to APIs etc. to implement GPRS data
counters. There exist several commercial apps that do that today (e.g.
all-locations gprs counters and the efficasoft product) so I know it can be
done but given that I haven't found any reference to where the counters are
stored, I'm suspicous this is more complex than just reading existing
counters and may require registering to handle end-of-call events and track
sent and received that way.

Does anyone know how to track GPRS data traffic on a smartphone running win
mobile 5? Thanks,

--jrh


Peter Foot [MVP]

2006-03-13, 7:02 pm

You can track data traffic using the IPHelper APIs (Windows Mobile 2003 and
above), you'll find these wrapped in OpenNETCF.Net.NetworkInformation
namespace if you are a managed code developer - www.opennetcf.org/sdf/). The
documentation for these is not present in the SDK but the headers and libs
are. You can view the documentation on MSDN online -
http://msdn.microsoft.com/library/d...erfunctions.asp

Peter

--
Peter Foot
Windows Embedded MVP
www.peterfoot.net | www.inthehand.com

"James Hamilton" <JamesRH@computer.org> wrote in message
news:4415780b$1@news.microsoft.com...
> I'm looking for sample code or pointers to APIs etc. to implement GPRS
> data counters. There exist several commercial apps that do that today
> (e.g. all-locations gprs counters and the efficasoft product) so I know it
> can be done but given that I haven't found any reference to where the
> counters are stored, I'm suspicous this is more complex than just reading
> existing counters and may require registering to handle end-of-call events
> and track sent and received that way.
>
> Does anyone know how to track GPRS data traffic on a smartphone running
> win mobile 5? Thanks,
>
> --jrh
>
>



James Hamilton

2006-03-14, 7:02 pm

Excellent, I'll dig through iphelper functions.

Opennetcf looks good as well. Thanks for the pointers Peter.

--jrh

"Peter Foot [MVP]" <feedback@nospam-inthehand.com> wrote in message
news:OpLqODsRGHA.5108@TK2MSFTNGP11.phx.gbl...
> You can track data traffic using the IPHelper APIs (Windows Mobile 2003
> and above), you'll find these wrapped in OpenNETCF.Net.NetworkInformation
> namespace if you are a managed code developer - www.opennetcf.org/sdf/).
> The documentation for these is not present in the SDK but the headers and
> libs are. You can view the documentation on MSDN online -
> http://msdn.microsoft.com/library/d...erfunctions.asp
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
> www.peterfoot.net | www.inthehand.com
>
> "James Hamilton" <JamesRH@computer.org> wrote in message
> news:4415780b$1@news.microsoft.com...
>
>



Yaroslav Goncharov

2006-03-21, 3:57 am

You can use RAS API to count send/recv data through a given connection.

--
Yaroslav Goncharov
Spb Software House


"James Hamilton" <JamesRH@computer.org> wrote in message
news:4415780b$1@news.microsoft.com...
> I'm looking for sample code or pointers to APIs etc. to implement GPRS
> data counters. There exist several commercial apps that do that today
> (e.g. all-locations gprs counters and the efficasoft product) so I know it
> can be done but given that I haven't found any reference to where the
> counters are stored, I'm suspicous this is more complex than just reading
> existing counters and may require registering to handle end-of-call events
> and track sent and received that way.
>
> Does anyone know how to track GPRS data traffic on a smartphone running
> win mobile 5? Thanks,
>
> --jrh
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com