?
Solved

GPRS PPP Link , Authentication

Posted on 2004-04-14
17
Medium Priority
?
2,317 Views
Last Modified: 2013-12-09
Hello Expertise

I am developing application with EVC++. I have initialized my GPRS modem with the Baud Rate 115200 and I have executed following AT Command AT+CGDCONT = 1,”IP”,”internet”, ,0,0 followed by ATD*99***1. Finally I got message NO CARRIER. I think I missed PPP link and PAP. Please help me how to implement authentication and PPP link? Million thanks in advance
0
Comment
Question by:rammuru
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 9
  • 6
17 Comments
 
LVL 5

Expert Comment

by:drelectro
ID: 10822040
what is evc++ ?

What are you trying to plug into your GPRS modem ?
What do you want to do once you're connected ?
0
 
LVL 5

Expert Comment

by:drelectro
ID: 10822054
Ahh EVC++ == Embedded Visual C++...

What is your hardware/software  platform ?

IF it's PocketPC (or CE), don't  bother trying to write your own PPP/IP stack pocket PC has a perfectly good one built in.

Just establish a regular dial up connection and dial *99#.
Make sure you configure the modem driver to set the APN in the initialisation string.

0
 

Author Comment

by:rammuru
ID: 10822066
Hi

I want send data to the host server.  
0
Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

 
LVL 5

Expert Comment

by:drelectro
ID: 10822080
What host server ?
What data ?
0
 

Author Comment

by:rammuru
ID: 10822088
HI Drelectro

No I am using external modem through RS232 COM port.
0
 
LVL 5

Expert Comment

by:drelectro
ID: 10822116
Yes I understand that but what is the modem plugged into ?
A PC ?
A Handheld ?
Something else ?
What OS is it running?
0
 

Author Comment

by:rammuru
ID: 10831049
Hi Drelectro

I am using for Psion Teklogix Handheld terminal. It is wince.net 4.2 OS.
0
 
LVL 5

Expert Comment

by:drelectro
ID: 10833208
OK Then you should be able to establish a GPRS connection directly from the handheld you don't need to implement PPP or IP yourself they're built in.

Connecting to GPRS is just like connecting to any other ISP as far as the hand held is concerned.
The only exception is that you must set the APN you want to use before you dial.

Once your connected you can trasfer your data to your server using say FTP or email or whatever you like.
0
 
LVL 5

Expert Comment

by:drelectro
ID: 10833370
The following document shows how to configure wince for GPRS

http://www.go.com.mt/wap_phones_setup/ipaq_internet_setup_ir.pdf

The example use IR so you'll need to change that to your com port
0
 

Author Comment

by:rammuru
ID: 10857787
Hi Drelectro

I have configured already with this method but what I want, through programmatically how do I open com port and send AT commands to connect internet? Up to opening Comport and sending modem initialize command no problem but when I send ATD*99***1# command I am getting message from modem “NO CARRIER”. Any help?
0
 
LVL 5

Expert Comment

by:drelectro
ID: 10859184
Is your SIM subscribed for GPRS?
Does the NO CARRIER come immediatly after you send the ATD?
0
 

Author Comment

by:rammuru
ID: 10876601
Yes my SIM card subscribed for GPRS. When I send ATD*99***1# modem replies Connect 19200 followed by some Jung character (4 or 5 Lines) then finally NO CARRIER.  
0
 
LVL 5

Expert Comment

by:drelectro
ID: 10876810
Ahhh I see.

The junk is not junk but PPP, that's exactly what you should expect.

0
 

Author Comment

by:rammuru
ID: 10884810
Hi Drelectro

I hope now you understand my problem. Any help to solve the problem?
0
 
LVL 5

Accepted Solution

by:
drelectro earned 2000 total points
ID: 10887894
No I don't understand the problem I'm afraid.

This does not appear to me to be a problem but exepected behaviour.

Your choices are:-

Use the built in PPP stack in wince (very easy)

or

Write your own (very hard (and pointless in your case))

So why not use the built in stack ?

The following may be helpful
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceoak40/html/cooriDial-UpNetworkingOverview.asp

And
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcedial/html/cerefrasdial.asp
Shows how to start a dial up networking connection programatically.
Does this help ?

If you really want to implement PPP yourself this where it is defined:-
http://www.faqs.org/rfcs/rfc1548.html

Does that help ?









0

Featured Post

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question