HighTechTalks DotNet Forums  

GPRS data monotoring

Dotnet Framework (Compact Framework) microsoft.public.dotnet.framework.compactframework


Discuss GPRS data monotoring in the Dotnet Framework (Compact Framework) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
GOEran
 
Posts: n/a

Default GPRS data monotoring - 12-14-2004 , 03:35 AM






Hello

I'm deveopling a manage application for smartphone and windows CE .NET.

I need to monitor GPRS data the application. I've some problem to find some
helpfull API for this. I hope somone here can give me a clue where to look?



Reply With Quote
  #2  
Old   
Peter Foot [MVP]
 
Posts: n/a

Default Re: GPRS data monotoring - 12-14-2004 , 04:09 AM






What do you want to monitor? Availability of GPRS, current connected state,
IP traffic, signal strength, all of the above?

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

"GOEran" <GOEran (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hello

I'm deveopling a manage application for smartphone and windows CE .NET.

I need to monitor GPRS data the application. I've some problem to find
some
helpfull API for this. I hope somone here can give me a clue where to
look?





Reply With Quote
  #3  
Old   
GOEran
 
Posts: n/a

Default Re: GPRS data monotoring - 12-14-2004 , 05:13 AM



Hei Peter

Thanks for a fast reply. I basically want to monitor IP traffic, amout of
bytes sent/recived.



"Peter Foot [MVP]" wrote:

Quote:
What do you want to monitor? Availability of GPRS, current connected state,
IP traffic, signal strength, all of the above?

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

"GOEran" <GOEran (AT) discussions (DOT) microsoft.com> wrote in message
news:3EA19A23-540E-4EBD-9EA8-F330C5CE41AA (AT) microsoft (DOT) com...
Hello

I'm deveopling a manage application for smartphone and windows CE .NET.

I need to monitor GPRS data the application. I've some problem to find
some
helpfull API for this. I hope somone here can give me a clue where to
look?






Reply With Quote
  #4  
Old   
Peter Foot [MVP]
 
Posts: n/a

Default Re: GPRS data monotoring - 12-14-2004 , 05:46 AM



In that case you will want to P/Invoke the IP Helper APIs which are not
documented in the SDK but are online here:-
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iphlp/iphlp/ip_helper_start_page.asp
The SDK includes the iphlpapi.h header which contains definitions of these
functions. I've used a couple with Pocket PC 2003 Phone Edition, not
Smartphone but they should still be available on Smartphone.

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

"GOEran" <GOEran (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hei Peter

Thanks for a fast reply. I basically want to monitor IP traffic, amout of
bytes sent/recived.



"Peter Foot [MVP]" wrote:

What do you want to monitor? Availability of GPRS, current connected
state,
IP traffic, signal strength, all of the above?

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

"GOEran" <GOEran (AT) discussions (DOT) microsoft.com> wrote in message
news:3EA19A23-540E-4EBD-9EA8-F330C5CE41AA (AT) microsoft (DOT) com...
Hello

I'm deveopling a manage application for smartphone and windows CE .NET.

I need to monitor GPRS data the application. I've some problem to find
some
helpfull API for this. I hope somone here can give me a clue where to
look?








Reply With Quote
  #5  
Old   
ACP
 
Posts: n/a

Default Re: GPRS data monotoring - 01-10-2005 , 11:47 AM




Hi Peter,

How it is possible to know the availability of GPRS, the state of the
connection and the signal strength?

What API I have to use?

Thanks



"Peter Foot [MVP]" wrote:

Quote:
In that case you will want to P/Invoke the IP Helper APIs which are not
documented in the SDK but are online here:-
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iphlp/iphlp/ip_helper_start_page.asp
The SDK includes the iphlpapi.h header which contains definitions of these
functions. I've used a couple with Pocket PC 2003 Phone Edition, not
Smartphone but they should still be available on Smartphone.

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

"GOEran" <GOEran (AT) discussions (DOT) microsoft.com> wrote in message
news:AD635DCF-8C1B-4399-9877-012FF2848001 (AT) microsoft (DOT) com...
Hei Peter

Thanks for a fast reply. I basically want to monitor IP traffic, amout of
bytes sent/recived.



"Peter Foot [MVP]" wrote:

What do you want to monitor? Availability of GPRS, current connected
state,
IP traffic, signal strength, all of the above?

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

"GOEran" <GOEran (AT) discussions (DOT) microsoft.com> wrote in message
news:3EA19A23-540E-4EBD-9EA8-F330C5CE41AA (AT) microsoft (DOT) com...
Hello

I'm deveopling a manage application for smartphone and windows CE .NET.

I need to monitor GPRS data the application. I've some problem to find
some
helpfull API for this. I hope somone here can give me a clue where to
look?









Reply With Quote
  #6  
Old   
Peter Foot [MVP]
 
Posts: n/a

Default Re: GPRS data monotoring - 01-10-2005 , 04:43 PM



You should be able to query these items via TAPI functions, which you'll
need to call with P/Invoke (Platform Invoke) and create definitions for the
various structures returned.
You'll need the following functions:-

lineInitializeEx - initialises TAPI
lineOpen - open a handle to the phone line object
lineGetDevStatus - to retrieve signal strength and availability
lineGetGPRSClass - will allow you to determine if GPRS is supported on the
line
lineClose - close the handle

Seperately you can use the Connection Manager APIs (There is a .NETCF
wrapper for these as part of OpenNETCF.Net.dll (www.opennetcf.org/sdf/). You
can query the connection status to see if the device has an available
network connection.

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

"ACP" <ACP (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi Peter,

How it is possible to know the availability of GPRS, the state of the
connection and the signal strength?

What API I have to use?

Thanks



"Peter Foot [MVP]" wrote:

In that case you will want to P/Invoke the IP Helper APIs which are not
documented in the SDK but are online here:-
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iphlp/iphlp/ip_helper_start_page.asp
The SDK includes the iphlpapi.h header which contains definitions of
these
functions. I've used a couple with Pocket PC 2003 Phone Edition, not
Smartphone but they should still be available on Smartphone.

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

"GOEran" <GOEran (AT) discussions (DOT) microsoft.com> wrote in message
news:AD635DCF-8C1B-4399-9877-012FF2848001 (AT) microsoft (DOT) com...
Hei Peter

Thanks for a fast reply. I basically want to monitor IP traffic, amout
of
bytes sent/recived.



"Peter Foot [MVP]" wrote:

What do you want to monitor? Availability of GPRS, current connected
state,
IP traffic, signal strength, all of the above?

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

"GOEran" <GOEran (AT) discussions (DOT) microsoft.com> wrote in message
news:3EA19A23-540E-4EBD-9EA8-F330C5CE41AA (AT) microsoft (DOT) com...
Hello

I'm deveopling a manage application for smartphone and windows CE
.NET.

I need to monitor GPRS data the application. I've some problem to
find
some
helpfull API for this. I hope somone here can give me a clue where
to
look?











Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.