(!!!Important)"AT"+"GPRS"==>"Internet" Only...
Dear All.
I'm interested in accessing internet from my microcontroller, or from a dumb Serial Editor (e.g. Hyperterminal) that means, I should use the AT commands.
I've a TCP/IP Stack from SII Seiko.
I've already read over than 25 posts, that almost all have the same question, but not a unique & COMPLETE answer...
SO, Please, Please, try to make this post complete in order to make it reference for the connection to the internet via GPRS
without any API, nor Windows Services, nor Softwares...
Simply, by AT commands.
The question about connecting to the modem is trivial, & already anwered several times.
The modem is functionning in GSM, Voice Calls, SMS, ...
Of course, the problem is that After dialing the number via Hyperterminal, I get CONNECT & The negotiation sequence that fails & yields to NO CARRIER.
Also, It would be very kind from your part "njabin", if you upload the PPP linux negotiation doc to some server & mention its URL.
Also, a description of RASDIAL.EXE, could help.
For the moment, I've read in several datasheet that the following sequence is necessary for accessing the GPRS:
AT+COPS=0 /// Automatic OPerator Selection.
AT%CGPPP=1 /// 0=No negotiation, 1=PAP, 2=CHAP, 3=automatic
AT%CGPCO=1,"PAP,<username>,<password>",1 ///First 1=ASCII, PAP, second 1==CID
AT+CGATT=1 ///ATTach to GPRS PDN.
AT+CGDCONT=1,"IP","<APN>" ///APN is provided by your operator.
AT+CGACT=1,1 // First 1 ==activate Context, Second 1=CID
ATD *99***1# ///1==CID
& as usual, I get the CONNECT
& the negotiation sequence delimited by ~==7eH.
& after spme seconds, NO CARRIER...
thanks a lot in advance for your help.
by: BigRatPosted on 2003-06-08 at 08:58:03ID: 8676680
"& the negotiation sequence delimited by ~==7eH."
That is the SP asking for the establishment of a Point-to-Point protocol connection.
I don't see how you can enter the correct establishment sequence which a normal PPP stack will make in HyperTerminal?
What does the TCP/IP stack ask for the transport layer, ie: what form of serial protocol does it support?