Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

GPRS PPP connect failture.

Status
Not open for further replies.

soncyang

Newbie level 1
Newbie level 1
Joined
Dec 19, 2011
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,293
Hello,everyone

I did some work to transplant TCP/IP stack to MCU. Through GPRS, MCU can connect internet.
However, I met with some trouble during LCP negotiation.The following is my solution referring networking material

1.In order to make MCU PPP simpler.The LCP option request are respond with rejection.

Server:7e ff 03 c0 21 01 01 00 14 02 06 00 00 00 00 05 06 b0 70 9c c3 07 02 08 02 54 06 7e

MCU:7e ff 03 c0 21 04 01 00 04 02 06 00 00 00 00 05 06 b0 70 9c c3 07 02 08 02 69 78 7e

2.A authentication request is expected in the second step. But i get a none LCP option request.

Server:7e ff 03 c0 21 01 02 00 04 b5 5a 7e

This means server forces MCU to start LCP negotiation.I am missing.

I send a authentication option request to server so that forcing server to start authentication option negotiation.Server respond me two packets.One is a ACK packet for authentication request.The another still is the none LCP option.

MCU:7e ff 03 c0 21 01 05 00 08 03 04 C0 23 ac 56 7e

Server:7e ff 03 c0 21 02 05 00 08 03 04 C0 23 bd 34 7e
Server:7e ff 03 c0 21 01 02 00 04 b5 5a 7e

After several "none option" request, The negotiation over. What should I do?

AT command:
AT+CGCLASS="b"
AT+CGDCONT=1,"IP","CMNET"
AT+CGACT=1,1
AT+CGREG?
AT+IPR=115200;&W

(My english is not good .I hope you can understand my means.)
 
Last edited:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top