Solved

GPRS PPP Link , Authentication

Posted on 2004-04-14
17
2,307 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
  • 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
 
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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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 500 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

For Sennheiser, comfort, quality and security are high priority areas. This paper addresses the security of Bluetooth technology and the supplementary security that Sennheiser’s Contact Center and Office (CC&O) headsets provide.  
DECT technology has become a popular standard for wireless voice communication. DECT devices are not likely to be affected by other electronic devices and signals because they operate in a separate frequency-band.
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…

930 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now