Solved

GPRS PPP Link , Authentication

Posted on 2004-04-14
17
2,306 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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

In this article I will describe how to setup a Cisco WLC 5508 to work with Apple's Bonjour protocol across VLANs.  I will also discuss using screen mirroring and Airplay on an AppleTV v3.  This article covers the wireless network only and requires m…
Using in-flight Wi-Fi when you travel? Business travelers beware! In-flight Wi-Fi networks could rip the door right off your digital privacy portal. That’s no joke either, as it might also provide a convenient entrance for bad threat actors.
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…

743 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

13 Experts available now in Live!

Get 1:1 Help Now