Recommended Procedures For Ppp Setting - Quectel EC200 Series Application Note

Table of Contents

Advertisement

3.2. Recommended Procedures for PPP Setting

Recommended Power-on/off:
For details of the recommended
power-on/off methods of each
applicable module, see their
Hardware Design documents
respectively.
Query (U)SIM Card Status:
AT+CPIN. Reboot the module if it
fails to detect (U)SIM card in 20 s with
AT+CPIN?.
Network:
1. It indicates that the module has
registered on network when
AT+CREG? returns 1 or 5.
2. Reboot the module if it fails to
register on network in 60 s.
PS Network:
1. It indicates that the module has
registered on PS when AT+CGREG?
returns 1 or 5.
2. It is able to go to next step without
registering on PS in 60 s.
APN Configuration:
1. APN must be set by
AT+CGDCONT.
2. Use AT+CGACT? to check
whether the current context has been
activated when AT+CGDCONT
returns error.
Packet Interaction:
1. Exit from the procedure of Packet
Interaction by "+++".
2. The module will report NO
CARRIER when PPP connection is
terminated.
LCP Negotiation:
1. If UART is used, ensure the baud
rate between MCU and the module is
the same.
AUTH Negotiation:
1. Ensure the type of AUTH is one of
the following two: PAP(0xc023),
CHAP(0xc223).
IPCP Negotiation:
1. Check whether MCU has got legal
IP and DNS address.
2. Check whether the amount of DNS
MCU is equal to the amount
requested by MCU.
3. Terminate PPP connection if IPCP
negotiation between TA and TE is not
completed in 90 s, and then retry PPP
setup.
Exception Handling:
1. Check whether the PPP Terminate-
Request packet is right.
2. Reboot the module if the steps
above do not work.
Figure 3: Flowchart of Recommended Procedures for PPP Setting
EC200x&EC600S&EG912Y_Series_PPP_Application_Note
EC200x&EC600S&EG912Y Series PPP Application Note
1. Synchronization between TE and TA.
2. Fix and save baud rate by AT+IPR=xxx&W. If
USB modem port is used, this could be ignored.
Exit from the PPP dialing if (U)SIM
card is not ready in 20 s.
Exit from the PPP dialing if
the module fails to register
on network in 60s
1. Set APN by AT+CGDCONT
2. Start PPP dialing by ATD*99#
Packet Interaction
Start timer when
IPCP negotiation
begins
LTE Standard Module Series
Power on the
module
Y
AT+CPIN?
Query (U)SIM
card status
(U)SIM card is ready
AT+CREG?
Query network
status
Register on network in 60 s
AT+CGREG?
Query PS network
Connect_Count++
Return CONNECT
LCP negotiation
OK
AUTH negotiation
OK
IPCP negotiation
Y
OK
MCU sends
PPP
Succeed to
N
negotiate IPCP in
Terminate-
90s
Request
packet
Send Count++
Y
MCU got IP and
DNS
Y
Data transmission
N
Connect_Count<
5
Exception handling
N
Send Count<5
N
MCU receives
Y
PPP Terminate-
Ack packet in 3 s
N
9 / 27

Advertisement

Table of Contents
loading

Table of Contents