Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GPRS dial up in Windows CE

1,126 views
Skip to first unread message

Vinoth

unread,
May 24, 2007, 5:50:00 AM5/24/07
to
Hi all,
I have an SIMCOM508 GSM modem. I tried the GPRS Connection in the PC using
"phone and modem options" and "Network Dial UP option" in Windows XP using
the serial port COM1. I am able to browse the internet.

But I am trying in windows CE 6.0 using the "Dialing" and "Network and Dial
UP Connections". I am using the PXA 270 based reference platorm and i am
using COM1 (FFUART) to connect the GSM Modem. I have added The following
component in the build.

Networking - WAN
* Dial Up Networking (RAS/PPP)
* AutoDial
*Point to Point Protocol
*Standard Modem Support for Dial Up Networking
Telephony API(TAPI 2.0)

In the "Make new Connection" wizard i select the modem "Hayes Compatible on
COM1":

Port settings:
=========
baudrate:19200
data bits:8
Parity:None
Stop Bits:1
Flow Control: Hardware

Call OPtions:
========
Extra settings:
Special Modem command may be inserted into the dial string.
AT+CDGCONT=1,"IP","airtelgprs.com"

I removed the region and area code. i have entered *99# as the phone NO.

In the "phone dialing Option" i removed the default dial patterns (ex)
local call, international call etc.

I tried to connect, but i showing the following error " The Port is not
available another program may be using it".

please help me in this issue.

Advance thanks,
--
vinoth.R


--
vinoth.R
Technical Lead
e-consystems India Pvt Ltd
www.e-consystems.com

Javier Grijalba

unread,
May 24, 2007, 7:19:59 AM5/24/07
to
Do you have a terminal program for WinCE?
Just send an AT command to COM1 and check if you get an OK.
Regards
Javier


On Thu, 24 May 2007 11:50:00 +0200, Vinoth
<vin...@discussions.microsoft.com> wrote:

>
> I have an SIMCOM508 GSM modem. I tried the GPRS Connection in the PC
> using
> "phone and modem options" and "Network Dial UP option" in Windows XP
> using
> the serial port COM1. I am able to browse the internet.
> But I am trying in windows CE 6.0 using the "Dialing" and "Network and
> Dial
> UP Connections". I am using the PXA 270 based reference platorm and i am
> using COM1 (FFUART) to connect the GSM Modem. I have added The following
> component in the build.

--
Javier Grijalba
www.contendosystems.com
Embedded Systems
J.Grijalba at Contendosystems dot com

Mauricio Sousa (Connec Brasil)

unread,
May 25, 2007, 11:59:14 AM5/25/07
to
Hi vinoth.R,

It happened with me too, but with another application.

In my case, the problem was that the COM1 port is used by OS as debug
port, and others application can't to use this port. So if you have
another port able in your platform you can use it to test

I did it worked customizing the source code in debug.c from D:
\WINCE500\PLATFORM\BSP\Src\Kernel\X86\Common\Other folder

..search about COM1 as debug port post in this group that you will
understand better.


I hope that it helps you in anything.

Mauricio de Sousa Coelho
Windows CE R&D Team
www.connec.com.br


Vinoth

unread,
May 29, 2007, 3:11:01 AM5/29/07
to
hi Mauricio Sousa and Javier Grijalba,

Thanks for the reply. i have resolved the issue. the problem was related to
the modem initialisation.


--
vinoth.R
Technical Lead
e-consystems India Pvt Ltd
www.e-consystems.com

"Mauricio Sousa (Connec Brasil)" wrote:

> Hi vinoth.R,
>
> It happened with me too, but with another application.
>
> In my case, the problem was that the COM1 port is used by OS as debug
> port, and others application can't to use this port. So if you have
> another port able in your platform you can use it to test
>
> I did it worked customizing the source code in debug.c from D:
> \WINCE500\PLATFORM\BSP\Src\Kernel\X86\Common\Other folder
>

> ...search about COM1 as debug port post in this group that you will

GilMo

unread,
Jun 27, 2007, 2:56:01 PM6/27/07
to
Hi Vinoth,

I'm having the same problem and I know my debugger is not using the same
port as Mauricio suggested. I have a test program like Hyperterminal that
allows me to "talk" to the GPRS modem manualy.

When I use the dial-up (RAS) I get the same error message you got. if the
problem is modem initialization could you please share with me.

Thanks,

Javier Grijalba

unread,
Jul 9, 2007, 3:54:44 PM7/9/07
to
Hi Vinoth,
can you tell us exactly what you did to solve this issue " The Port is not
available another program may be using it".
I have the same problem with a Telit GM862 GSM/GPRS modem.
If i just send raw AT commands with some terminal it works perfectly, but
not with the Dial Up from WIndows CE 5.0
What initialisation command is needed?
Regards
Javier


On Tue, 29 May 2007 09:11:01 +0200, Vinoth
<vin...@discussions.microsoft.com> wrote:

> hi Mauricio Sousa and Javier Grijalba,
>
> Thanks for the reply. i have resolved the issue. the problem was related
> to
> the modem initialisation.

--

GilMo

unread,
Jul 9, 2007, 5:46:03 PM7/9/07
to
This is how I made it work:

1. Use an application such as hyperterminal to send AT commands to your GSM
port
if you send AT and you get OK then go to next step.
2. Close the serial application that you used in step 1 above
to use GSM this solution requires that a network connection be created
under Settings->Network
create a Dial Upconnection select a modem "Hayes Compatible on COMx:" select
the COM port that connects to your GSM.

Define your Port Settings and then on Call Options you should see a box for
Extra Settings. In this box you have to enter a command +CGDCONT=1,ip,???
(this is the APN you have to get this last one from your carrier)
APN is depending on your sim:
If cingular: isp.cingular
if t-mobile: wap.voicestream.com
No login / pwd.

3. Go to your new connection properties

For the dial number, you enter *99***1#
Uncheck Force long distance
Uncheck Force local
Uncheck Wait for dial tone

In TCP settings uncheck Slip and leave all the other ones checked.
In Security uncheck Data Encryption and uncheck EAP, use MD5-Challenge and
leave all the other ones checked.

Save everything and you're good to go!

4. Double click on the new connection and watch it dial and authenticate

Remember without +CGDCONT=1,ip,??? (APN) it is not going to work. Get the
APN from your carrier and replace the ??? with the APN

naveenkumar

unread,
Jun 3, 2010, 9:35:46 AM6/3/10
to

Sir please help me we are facing same type probelm please explaing below process. how to get the Carrier

Remember without +CGDCONT=1,ip,??? (APN) it is not going to work. Get the
APN from your carrier and replace the ??? with the APN


GilM wrote:

Re: GPRS dial up in Windows CE
09-Jul-07

This is how I made it work:

1. Use an application such as hyperterminal to send AT commands to your GSM
port
if you send AT and you get OK then go to next step.
2. Close the serial application that you used in step 1 above
to use GSM this solution requires that a network connection be created

under ???Settings->Network


create a Dial Upconnection select a modem "Hayes Compatible on COMx:" select
the COM port that connects to your GSM.

Define your Port Settings and then on Call Options you should see a box for
Extra Settings. In this box you have to enter a command +CGDCONT=1,ip,???
(this is the APN you have to get this last one from your carrier)
APN is depending on your sim:
If cingular: isp.cingular
if t-mobile: wap.voicestream.com
No login / pwd.

3. Go to your new connection properties

For the dial number, you enter *99***1#
Uncheck Force long distance
Uncheck Force local
Uncheck Wait for dial tone

In TCP settings uncheck Slip and leave all the other ones checked.
In Security uncheck Data Encryption and uncheck EAP, use MD5-Challenge and
leave all the other ones checked.

Save everything and you're good to go!

4. Double click on the new connection and watch it dial and authenticate

Remember without +CGDCONT=1,ip,??? (APN) it is not going to work. Get the
APN from your carrier and replace the ??? with the APN


"Javier Grijalba" wrote:

Previous Posts In This Thread:

On Thursday, May 24, 2007 5:50 AM
vinot wrote:

GPRS dial up in Windows CE
Hi all,


I have an SIMCOM508 GSM modem. I tried the GPRS Connection in the PC using
"phone and modem options" and "Network Dial UP option" in Windows XP using
the serial port COM1. I am able to browse the internet.

But I am trying in windows CE 6.0 using the "Dialing" and "Network and Dial
UP Connections". I am using the PXA 270 based reference platorm and i am
using COM1 (FFUART) to connect the GSM Modem. I have added The following
component in the build.

Networking - WAN


* Dial Up Networking (RAS/PPP)
* AutoDial
*Point to Point Protocol
*Standard Modem Support for Dial Up Networking
Telephony API(TAPI 2.0)

In the "Make new Connection" wizard i select the modem "Hayes Compatible on
COM1":

Port settings:
=========
baudrate:19200
data bits:8
Parity:None
Stop Bits:1
Flow Control: Hardware

Call OPtions:
========
Extra settings:
Special Modem command may be inserted into the dial string.
AT+CDGCONT=1,"IP","airtelgprs.com"

I removed the region and area code. i have entered *99# as the phone NO.

In the "phone dialing Option" i removed the default dial patterns (ex)
local call, international call etc.

I tried to connect, but i showing the following error " The Port is not

available another program may be using it".

please help me in this issue.

Advance thanks,
--
vinoth.R


--
vinoth.R
Technical Lead
e-consystems India Pvt Ltd
www.e-consystems.com

On Thursday, May 24, 2007 7:19 AM
Javier Grijalba wrote:

Do you have a terminal program for WinCE?
Do you have a terminal program for WinCE?
Just send an AT command to COM1 and check if you get an OK.
Regards
Javier


On Thu, 24 May 2007 11:50:00 +0200, Vinoth
<vin...@discussions.microsoft.com> wrote:


--
Javier Grijalba
www.contendosystems.com
Embedded Systems
J.Grijalba at Contendosystems dot com

On Friday, May 25, 2007 11:59 AM


Mauricio Sousa (Connec Brasil) wrote:

Hi vinoth.R,It happened with me too, but with another application.
Hi vinoth.R,

It happened with me too, but with another application.

In my case, the problem was that the COM1 port is used by OS as debug
port, and others application can't to use this port. So if you have
another port able in your platform you can use it to test

I did it worked customizing the source code in debug.c from D:
\WINCE500\PLATFORM\BSP\Src\Kernel\X86\Common\Other folder

...search about COM1 as debug port post in this group that you will
understand better.


I hope that it helps you in anything.

Mauricio de Sousa Coelho
Windows CE R&D Team
www.connec.com.br

On Tuesday, May 29, 2007 3:11 AM
vinot wrote:

hi Mauricio Sousa and Javier Grijalba,Thanks for the reply.
hi Mauricio Sousa and Javier Grijalba,

Thanks for the reply. i have resolved the issue. the problem was related to
the modem initialisation.
--

vinoth.R
Technical Lead
e-consystems India Pvt Ltd
www.e-consystems.com

"Mauricio Sousa (Connec Brasil)" wrote:

On Wednesday, June 27, 2007 2:56 PM
GilM wrote:

Hi Vinoth,I'm having the same problem and I know my debugger is not using the
Hi Vinoth,

I'm having the same problem and I know my debugger is not using the same
port as Mauricio suggested. I have a test program like Hyperterminal that
allows me to "talk" to the GPRS modem manualy.

When I use the dial-up (RAS) I get the same error message you got. if the
problem is modem initialization could you please share with me.

Thanks,

"Vinoth" wrote:

On Monday, July 09, 2007 3:54 PM
Javier Grijalba wrote:

Hi Vinoth,can you tell us exactly what you did to solve this issue " The Port


Hi Vinoth,
can you tell us exactly what you did to solve this issue " The Port is not
available another program may be using it".
I have the same problem with a Telit GM862 GSM/GPRS modem.
If i just send raw AT commands with some terminal it works perfectly, but
not with the Dial Up from WIndows CE 5.0
What initialisation command is needed?
Regards
Javier


On Tue, 29 May 2007 09:11:01 +0200, Vinoth
<vin...@discussions.microsoft.com> wrote:


--
Javier Grijalba
www.contendosystems.com
Embedded Systems
J.Grijalba at Contendosystems dot com

On Monday, July 09, 2007 5:46 PM
GilM wrote:

Re: GPRS dial up in Windows CE


This is how I made it work:

1. Use an application such as hyperterminal to send AT commands to your GSM
port
if you send AT and you get OK then go to next step.
2. Close the serial application that you used in step 1 above
to use GSM this solution requires that a network connection be created

under ???Settings->Network


create a Dial Upconnection select a modem "Hayes Compatible on COMx:" select
the COM port that connects to your GSM.

Define your Port Settings and then on Call Options you should see a box for
Extra Settings. In this box you have to enter a command +CGDCONT=1,ip,???
(this is the APN you have to get this last one from your carrier)
APN is depending on your sim:
If cingular: isp.cingular
if t-mobile: wap.voicestream.com
No login / pwd.

3. Go to your new connection properties

For the dial number, you enter *99***1#
Uncheck Force long distance
Uncheck Force local
Uncheck Wait for dial tone

In TCP settings uncheck Slip and leave all the other ones checked.
In Security uncheck Data Encryption and uncheck EAP, use MD5-Challenge and
leave all the other ones checked.

Save everything and you're good to go!

4. Double click on the new connection and watch it dial and authenticate

Remember without +CGDCONT=1,ip,??? (APN) it is not going to work. Get the
APN from your carrier and replace the ??? with the APN


"Javier Grijalba" wrote:


Submitted via EggHeadCafe - Software Developer Portal of Choice
MSChart For VB.Net
http://www.eggheadcafe.com/tutorials/aspnet/45729dc8-c102-4dc6-9aa7-4f6246763650/mschart-for-vbnet.aspx

Bruce Eitman [eMVP]

unread,
Jun 3, 2010, 9:53:41 AM6/3/10
to

The "carrier" is the telephone company that you are using. In the US that
would be Sprint, AT&T, T-Moble, Verizon...

--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT Eurotech DOT com
My BLOG http://geekswithblogs.net/bruceeitman

Eurotech Inc.
www.Eurotech.com

<naveen kumar> wrote in message news:20106393546...@gmail.com...

Vinoth [MCTS]

unread,
Jun 4, 2010, 2:27:34 AM6/4/10
to
0 new messages