rammuru
asked on
GPRS PPP Link , Authentication
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
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
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.
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.
ASKER
Hi
I want send data to the host server.
I want send data to the host server.
What host server ?
What data ?
What data ?
ASKER
HI Drelectro
No I am using external modem through RS232 COM port.
No I am using external modem through RS232 COM port.
Yes I understand that but what is the modem plugged into ?
A PC ?
A Handheld ?
Something else ?
What OS is it running?
A PC ?
A Handheld ?
Something else ?
What OS is it running?
ASKER
Hi Drelectro
I am using for Psion Teklogix Handheld terminal. It is wince.net 4.2 OS.
I am using for Psion Teklogix Handheld terminal. It is wince.net 4.2 OS.
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.
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.
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
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
ASKER
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?
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?
Is your SIM subscribed for GPRS?
Does the NO CARRIER come immediatly after you send the ATD?
Does the NO CARRIER come immediatly after you send the ATD?
ASKER
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.
Ahhh I see.
The junk is not junk but PPP, that's exactly what you should expect.
The junk is not junk but PPP, that's exactly what you should expect.
ASKER
Hi Drelectro
I hope now you understand my problem. Any help to solve the problem?
I hope now you understand my problem. Any help to solve the problem?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What are you trying to plug into your GPRS modem ?
What do you want to do once you're connected ?