background image

 

LTE Standard Module Series 

EC200U&EG915U_Series_PPP_Application_Note                                                                              5  / 28 

 
 

 

Table Index 

Table 1: Related Documents ...................................................................................................................... 27

 

Table 2: Terms and Abbreviations .............................................................................................................. 27

 

Summary of Contents for EC200U Series

Page 1: ...EC200U EG915U Series PPP Application Note LTE Standard Module Series Version 1 1 Date 2021 08 17 Status Released ...

Page 2: ...r notice Disclaimer While Quectel has made efforts to ensure that the functions and features under development are free from errors it is possible that these functions and features could contain errors inaccuracies and omissions Unless otherwise provided by valid agreement Quectel makes no warranties of any kind implied or express with respect to the use of features and functions under development...

Page 3: ...Quectel Transmitting reproducing disseminating and editing this document as well as using the content without permission are forbidden Offenders will be held liable for payment of damages All rights are reserved in the event of a patent grant or registration of a utility model or design Copyright Quectel Wireless Solutions Co Ltd 2021 All rights reserved ...

Page 4: ...pplication_Note 3 28 About the Document Revision History Version Date Author Description 2021 04 16 Baron ZHENG Creation of the document 1 0 2021 05 10 Baron ZHENG First official release 1 1 2021 08 17 Baron ZHENG Added an applicable module series EG915U ...

Page 5: ... 4 1 1 2 Use Sequence to Switch from Data Mode to Command Mode 12 4 1 2 Switch from Command Mode to Data Mode 13 4 1 2 1 Use ATO to Switch from Command Mode to Data Mode 13 4 2 Handle URC in Data Mode 13 4 3 Data Carrier Detection DCD Mode 13 5 PPP Connection Termination 15 6 PPP Dial up Operations 16 6 1 Preparation 16 6 2 PPP Dial up in Windows 10 16 6 2 1 Modem Configuration 16 6 2 1 1 Add a Ne...

Page 6: ...LTE Standard Module Series EC200U EG915U_Series_PPP_Application_Note 5 28 Table Index Table 1 Related Documents 27 Table 2 Terms and Abbreviations 27 ...

Page 7: ...odem in Control Panel 17 Figure 5 Add a New Modem 18 Figure 6 Select Model of the Modem 19 Figure 7 Select a Port 20 Figure 8 New Modem is Installed Successfully 20 Figure 9 Configure the Modem Driver 21 Figure 10 Create a New Connection 22 Figure 11 Set up the New Connection 23 Figure 12 Configure the Connection 24 Figure 13 Configure the Dial up Tool 25 Figure 14 Connecting to Dial up Connection...

Page 8: ...es_PPP_Application_Note 7 28 1 Introduction This document briefly introduces the PPP functions of Quectel s EC200U and EG915U series modules including PPP application modes setting procedures connection modes termination steps and dialing examples ...

Page 9: ... 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 e g Windows Unix Linux include the PPP protocol stack For operating systems that have no available applications for PPP connection it is necessary to develop applicable application software first UART USB UART USB PPP IP Appli...

Page 10: ... 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 packet interaction description is shown in the figure below For more details about standard PPP see RFC 1661 AT CGREG CGREG 0 1 AT CGDCONT 1 IP CMNET OK ATD 99 7E FF 7D 23 C0 21 7D 21 7D TE MT CONNECT Figure 2 General Procedures ...

Page 11: ...f 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 ...

Page 12: ... will execute AT IPR 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 response OK CME error CMS error If there is no response within 60 seconds the module can be restarted 3 It is strongly recommended NOT to power on off the module frequently If 3 conse...

Page 13: ... 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 PPP connection has been established and USB UART port is in data mode change the DTR level from low to high to switch from data mode to command mode AT D1 must be executed first After the switch is successful the module will return OK 4 1 1 2 Use Sequence to Switch from Data Mode t...

Page 14: ... all data inputted from USB UART port will be treated as PPP frames 4 2 Handle URC in Data Mode The URC for incoming calls and short messages in data mode will not be reported to the PPP dial up port during PPP connection But the level of module s RI pin will change from high to low for 120 ms as an indication of URC for incoming calls and short messages The MCU can switch the port to command mode...

Page 15: ...LTE Standard Module Series EC200U EG915U_Series_PPP_Application_Note 14 28 When switching module s USB UART port from data mode to command mode by using the DCD state remains unchanged NOTE ...

Page 16: ...vel 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 terminated the USB UART port will enter the command mode Examples are as follows Example USB UART port is still in command mode before PPP connection is established AT D2 OK 1 PPP connection termination procedures must be perf...

Page 17: ... 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 SIM card PIN is locked 2 Make sure the U SIM card can successfully register on GPRS network 6 2 PPP Dial up in Windows 10 6 2 1 Modem Configuration 6 2 1 1 Add a New Modem If the Standard 19200 bps Modem is not installed you need to add a new s...

Page 18: ... Module Series EC200U EG915U_Series_PPP_Application_Note 17 28 1 Search for Phone in the main interface and then click Phone and Modem as follows when it appears Figure 4 Search for Phone and Modem in Control Panel ...

Page 19: ... Standard Module Series EC200U EG915U_Series_PPP_Application_Note 18 28 2 Double click the Phone and Modem and select Modems Add to add a new modem as shown in the following figure Figure 5 Add a New Modem ...

Page 20: ...9 28 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 the configuration is complete For details see the figure below Figure 6 Select Model of the Modem ...

Page 21: ...LTE Standard Module Series EC200U EG915U_Series_PPP_Application_Note 20 28 Figure 7 Select a Port Figure 8 New Modem is Installed Successfully ...

Page 22: ... 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 default value Click the Advanced option configure Extra Settings and input AT CGDCONT 1 IP CMNET as shown below Figure 9 Configure the Modem Driver ...

Page 23: ...PN 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 6 2 2 1 Create a New Connection 1 Open Control Panel click Network and Internet Network and Sharing Center and finally Set up a new connection or network as illustrated below Figure 10 Create a New Connection NOTE ...

Page 24: ...C200U EG915U_Series_PPP_Application_Note 23 28 2 Select Connect to the Internet click Next Then click Set up a new connection anyway and Dial up to connect as illustrated in the following figure Figure 11 Set up the New Connection ...

Page 25: ...Series EC200U EG915U_Series_PPP_Application_Note 24 28 6 2 2 2 Configure the Connection Enter number such as 99 in Dial up phone number and then click Connect button as illustrated below Figure 12 Configure the Connection ...

Page 26: ...al 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 Maximum speed Click OK button to finish the configuration See the following figure for details Figure 13 Configure the Dial up Tool ...

Page 27: ...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 dial up connection See following figures for details Figure 14 Connecting to Dial up Connection Figure 15 Establish the Dial up Connection Successfully ...

Page 28: ..._Series_Hardware_Design 3 Quectel_LTE 5G_Linux_USB_Driver_User_Guide Abbreviation Description APN Access Point Name CHAP Challenge Handshake Authentication Protocol DCD Data Carrier Detection DNS Domain Name Server DTR Data Terminal Ready GPRS General Packet Radio Service GSM Global System of Mobile Communication IP Internet Protocol IPCP IP Control Protocol LCP Link Control Protocol MCU Micro Con...

Page 29: ...tion Protocol PC Personal Computer PDP Packet Data Protocol PIN Personal Identification Number PPP Point to Point Protocol RI Ring Indicator TA Terminal Adapter TE Terminal Equipment UART Universal Asynchronous Receiver Transmitter USB Universal Serial Bus U SIM Universal Subscriber Identity Module ...

Reviews: