background image

                                                                                                                                             

LTE  Standard  Module  Series 

                                                                            EC200x&EC600S&EG912Y  Series  PPP  Application  Note

 

EC200x&EC600S&EG912Y_Series_PPP_Application_Note                                                              9 / 27 

 
 

 

3.2. Recommended Procedures for PPP Setting 

Connect_Count<

5

Power on the 

module

AT+CPIN?

Query (U)SIM 

card status

AT+CGREG? 

Query PS network

1. Set APN by 

AT+CGDCONT

2. Start PPP dialing by 

ATD*99#

Return CONNECT

   MCU got IP and 

DNS

Data transmission

MCU sends 

PPP 

Terminate-

Request 

packet

Connec+

Recommended Power-on/off:

For details of the recommended 
power-on/off methods of each 
applicable module, see their 
Hardware Design documents 
respectively.

Exit from the PPP dialing if (U)SIM 

card is not ready in 20 s.

(U)SIM card is ready

Query (U)SIM Card Status:
AT+CPIN

. Reboot the module if it 

fails to detect (U)SIM card in 20 s with 

AT+CPIN?

.

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.

Y

Y

N

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.

Start timer when 

IPCP negotiation 

begins

Succeed to 

negotiate IPCP in 

90s

Y

N

  MCU receives 

PPP Terminate-

Ack packet in 3 s

Send Count<5

Exception handling

Send Count++

LCP negotiation

AUTH negotiation

IPCP negotiation

Packet Interaction

OK

OK

OK

N

Y

Y

N

N

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.

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.

Exit from the PPP dialing if 
the module fails to register 
on network in 60s

AT+CREG?

 

Query network 

status

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.

 

Figure 3: Flowchart of Recommended Procedures for PPP Setting 

Summary of Contents for EC200 Series

Page 1: ...EC200x EC600S EG912Y Series PPP Application Note LTE Standard Module Series Ver EC200x EC600S EG912Y_Series_PPP_Application_Note_V1 0 Date 2020 07 31 Status Released www quectel com...

Page 2: ...ANY KIND INCURRED BY USE OF OR RELIANCE UPON THE INFORMATION ALL INFORMATION SUPPLIED HEREIN IS SUBJECT TO CHANGE WITHOUT PRIOR NOTICE DISCLAIMER WHILE QUECTEL HAS MADE EFFORTS TO ENSURE THAT THE FUNC...

Page 3: ...ule Series EC200x EC600S EG912Y Series PPP Application Note EC200x EC600S EG912Y_Series_PPP_Application_Note 2 27 About the Document Revision History Version Date Author Description 1 0 2020 07 31 Cha...

Page 4: ...ta Mode to Command Mode 11 4 1 1 2 Use Sequence to Switch from Data Mode to Command Mode 11 4 1 2 Switch from Command Mode to Data Mode 12 4 1 2 1 Use ATO to Switch from Command Mode to Data Mode 12 4...

Page 5: ...E Standard Module Series EC200x EC600S EG912Y Series PPP Application Note EC200x EC600S EG912Y_Series_PPP_Application_Note 5 27 Table Index Table 1 Related Document 26 Table 2 Terms and Abbreviations...

Page 6: ...e 4 Search for Phone and Modem in Control Panel 16 Figure 5 Add a New Modem 17 Figure 6 Select Model of the Modem 18 Figure 7 Select a Port 19 Figure 8 New Modem is Installed Successfully 19 Figure 9...

Page 7: ...duction This document briefly introduces the PPP functions of Quectel s LTE Standard EC200x EC600S EG912Y series modules including PPP application modes setting procedures connection modes termination...

Page 8: ...ocols such as TCP IP HTTP S etc When PPP connection is established the IP packet data stream from the application will be transmitted to the Internet through the module Most standard operating systems...

Page 9: ...o set the APN for PPP by AT CGDCONT and to start PPP by ATD 99 After executing ATD 99 the module will enter the PPP frame interaction process which is based on standard PPP protocol The module data pa...

Page 10: ...tiation 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 equa...

Page 11: ...xxx W to set and save the baud rate after successfully synchronizing the baud rate 2 Before inputting the next AT command the MCU needs to wait for the response to the previous AT command such as resp...

Page 12: ...EG912Y series modules provide convenient methods to switch between the two modes 4 1 1 Switch from Data Mode to Command Mode 4 1 1 1 Change DTR Level to Switch from Data Mode to Command Mode When the...

Page 13: ...t is in command mode ATO CONNECT 150000000 Indicates that TA has entered data mode and all data inputted from USB UART port will be treated as PPP frames 4 2 Handle URC in Data Mode The URC for incomi...

Page 14: ...ies EC200x EC600S EG912Y Series PPP Application Note EC200x EC600S EG912Y_Series_PPP_Application_Note 13 27 When switching module s USB UART port from data mode to command mode by using the DCD state...

Page 15: ...tion by changing the DTR level Set the DTR function by AT D2 first change the DTR level from low to high and the data connection will be automatically terminated After the PPP connection is completely...

Page 16: ...USB_Driver_User_Guide 6 1 Preparation It is necessary to finish the following steps before establishing a PPP dial up connection in Windows 1 Connect the module to PC and enter the PIN code if the U S...

Page 17: ...EG912Y Series PPP Application Note EC200x EC600S EG912Y_Series_PPP_Application_Note 16 27 1 Search for Phone in the main interface and then click Phone and Modem as follows when it appears Figure 4 Se...

Page 18: ...x EC600S EG912Y Series PPP Application Note EC200x EC600S EG912Y_Series_PPP_Application_Note 17 27 2 Double click the Phone and Modem and select Modems Add to add a new modem as shown in the following...

Page 19: ...ries_PPP_Application_Note 18 27 3 Follow the instructions on the screen to install the new modem select Standard 19200 bps Modem and then the port such as COM10 to be installed click Next button until...

Page 20: ...LTE Standard Module Series EC200x EC600S EG912Y Series PPP Application Note EC200x EC600S EG912Y_Series_PPP_Application_Note 19 27 Figure 7 Select a Port Figure 8 New Modem is Installed Successfully...

Page 21: ...ure the Modem Driver Select the installed Standard 19200 bps Modem and click the Properties button After entering the interface select the Modems option and modify the Maximum Port Speed to 115200 def...

Page 22: ...nd APN CMNET CMNET is the APN of the network operator China Mobile and it should be replaced with the value provided with the value defined by the network operator 6 2 2 Dial up Network Configuration...

Page 23: ...P Application Note EC200x EC600S EG912Y_Series_PPP_Application_Note 22 27 2 Select Connect to the Internet click Next Then click Set up a new connection anyway and Dial up to connect as illustrated in...

Page 24: ...eries PPP Application Note EC200x EC600S EG912Y_Series_PPP_Application_Note 23 27 6 2 2 2 Configure the Connection Enter number such as 99 in Dial up phone number and then click Connect button as illu...

Page 25: ...27 6 2 2 3 Configure the Dial up Tool Enter number such as 99 in Dial window click Properties button and configure the Standard 19200 bps Modem COM10 Then select 115200 from the drop down list of Maxi...

Page 26: ...e Dial up Connection After the above operations click the Dial button the interface will pop up a prompt box Verifying username and password and the pop up box quickly pops up Connected to indicate a...

Page 27: ...Design 3 Quectel_EC600S CN_Hardware_Design EC600S CN Hardware Design 4 Quectel_EG912Y_Series_Hardware_Design EG912Y Series Hardware Design 5 Quectel_LTE 5G_Linux_USB_Driver_User_Guide USB driver user...

Page 28: ...27 27 MCU Micro Control Unit MS Mobile Station PAP Password Authentication Protocol PDP Packet Data Protocol PIN Personal Identification Number PPP Point to Point Protocol RI Ring Indicator TA Termin...

Reviews: