Strength of GPRS and GSM signal

F

Franck Tetzlaff

Hi there,

I have to develop a communication module for an application. I am able
to establish a connection with GUID given by the enumdestination of TAPI in
C# but I need to obtain the strength of the GPRS and GSM signal. Is there an
API that could help me ? which one ? and could you give me some example ? (I
prefer C# but I can make a DLL in evc)
The second problem is that my application will run on pocket pc that
will travel in over the world. By the way, I have to know (in my
application) if GPRS is available (roaming) in the other country.

Last question : is it possible not to show the connection window when
calling the connmgrestablishconnection from cellcore.dll ? The problem is
that when a connection fails, the user has to click on a button to resume
the application.

Thanks
 
A

Alex Feinman [MVP]

Franck Tetzlaff said:
Last question : is it possible not to show the connection window when
calling the connmgrestablishconnection from cellcore.dll ? The problem is
that when a connection fails, the user has to click on a button to resume
the application.

I'm not totally sure about it, but try setting
CONNMGR_CONNECTIONINFO.dwPriority to CONNMGR_PRIORITY_HIPRIBKGND
 
T

Tomer

Hi,
I have to create an application that connects to a server with GPRS/GSM. but
I don't know where to start, any tips?

Tomer.
 
F

Franck Tetzlaff

Alex Feinman said:
I'm not totally sure about it, but try setting
CONNMGR_CONNECTIONINFO.dwPriority to CONNMGR_PRIORITY_HIPRIBKGND

You are right. It works great with this flag. But I still need to get the
strength signal of GPRS and GSM ... :\
 
N

Neil Cowburn [MVP]

You could open a serial connection to RIL1: and send AT+CSQ to it to
receive the signal strength. Alternatively, take a look at the RIL APIs.
I'm not sure if the security model will prevent you calling these APIs.
In particular, take a look at RIL_GetSignalQuality in ril.dll.

--Neil

--
Neil Cowburn, MVP
Co-founder, OpenNETCF.org
Technologist, Content Master Ltd
Microsoft .NET Compact Framework MVP

www.opennetcf.org | www.contentmaster.com
 
B

Blair

I am also interested in signal strength of the GPRS and GSM signal. (Or
just general cellular signal strength) The Pocket PC 2002 SDK introduction
to ExTAPI mentions this capability, but I can't seem to find it in there.
If you happen to solve this problem, please let me know.

Thanks,
Blair.
 
B

Blair

Or in the TAPI structure LINEDEVSTATUS. Haven't tried it yet though.

Blair said:
I am also interested in signal strength of the GPRS and GSM signal. (Or
just general cellular signal strength) The Pocket PC 2002 SDK introduction
to ExTAPI mentions this capability, but I can't seem to find it in there.
If you happen to solve this problem, please let me know.

Thanks,
Blair.

Franck Tetzlaff said:
Hi there,

I have to develop a communication module for an application. I am able
to establish a connection with GUID given by the enumdestination of TAPI in
C# but I need to obtain the strength of the GPRS and GSM signal. Is
there
an
API that could help me ? which one ? and could you give me some example
?
 
H

Hai [MSFT]

The signal strength can be obtained through query to an SST device if
"sigstren.dll" is present on the Pocket PC.

Use the following IOCTL code to obtain the signal strength value via
DeviceIOControl( ).

// SST IO-control codes
#define FILE_DEVICE_SST 0x500

#define IOCTL_SST_RADIOPRESENT \
CTL_CODE(FILE_DEVICE_SST, 1, METHOD_BUFFERED, FILE_ANY_ACCESS)

#define IOCTL_SST_SIGNALSTRENGTH \
CTL_CODE(FILE_DEVICE_SST, 2, METHOD_BUFFERED, FILE_ANY_ACCESS)

#define IOCTL_SST_CARRIERLOGO_FILENAME \
CTL_CODE(FILE_DEVICE_SST, 3, METHOD_BUFFERED, FILE_ANY_ACCESS)
--

-hai

Hai Cui [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top