background image

 
 

 

 

UC20 PPP 

Application Note 

 

UMTS/HSPA Module Series 

 

Rev. UC20_PPP_Application_Note_V1.0 

 

Date: 2014-05-15 

www.quectel.com

 

Summary of Contents for UC20

Page 1: ...UC20 PPP Application Note UMTS HSPA Module Series Rev UC20_PPP_Application_Note_V1 0 Date 2014 05 15 www quectel com...

Page 2: ...D IS BASED UPON CUSTOMERS REQUIREMENTS QUECTEL MAKES EVERY EFFORT TO ENSURE THE QUALITY OF THE INFORMATION IT MAKES AVAILABLE QUECTEL DOES NOT MAKE ANY WARRANTY AS TO THE INFORMATION CONTAINED HEREIN...

Page 3: ...Module Series UC20 PPP Application Note UC20_PPP_Application_Note Confidential Released 2 29 About the Document History Revision Date Author Description 1 0 2014 05 15 Gralik WANG Initial Quectel Con...

Page 4: ...om 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 2 Terminate the Connection 12 4 3 Handle URC in Data Mode 1...

Page 5: ...UMTS HSPA Module Series UC20 PPP Application Note UC20_PPP_Application_Note Confidential Released 4 29 Table Index TABLE 1 RELATED DOCUMENTS 28 TABLE 2 TERMS AND ABBREVIATIONS 28 Quectel Confidential...

Page 6: ...TUP 9 FIGURE 4 PHONE AND MODEM OPTIONS 15 FIGURE 5 ADD A NEW MODEM 16 FIGURE 6 SELECT MODEL OF THE MODEM 17 FIGURE 7 SELECT A PORT 17 FIGURE 8 INSTALLED SUCCESSFULLY 18 FIGURE 9 CONFIGURE THE MODEM DR...

Page 7: ..._Note Confidential Released 6 29 1 Introduction This document gives a brief introduction to PPP function of Quectel standard module including recommended procedures for PPP setup the mode for PPP conn...

Page 8: ...lease note only USB modem port could be used for PPP in the all USB virtual ports Module provides a PPP server to application and application side provides PPP client to module Besides application sid...

Page 9: ...OK ATD 99 CONNECT 7E FF 7D 23 C0 21 7D 21 7D TE MT Figure 2 General Procedure for PPP Setup After module has registered to the GPRS network you should set APN for PPP by AT CGDCONT and start PPP setu...

Page 10: ...Packet Interaction by 2 Module will report NO CARRIER when PPP connection is terminated LCP Negotiation 1 If UART is used ensure the baudrate between MCU and module is the same AUTH Negotiation 1 Ens...

Page 11: ...UART is used MCU fixes and saves baud rate by AT IPR xxx W after synchronization is successful 2 Please note that MCU has to wait for the response for example OK CME error CMS error of the previous AT...

Page 12: ...e 4 1 1 1 Use DTR Level Switch from Data Mode to Command Mode When PPP connection already exists and module is in data mode you can change module from data mode to command mode by setting command of A...

Page 13: ...is in command mode ATO CONNECT 14400000 Indicates that TA has entered into data mode inputting commands from UART will be treated as PPP data 4 2 Terminate the Connection It is recommended to terminat...

Page 14: ...tus of RI pin If incoming call or message exists the URC will be output to the port when module is changed to command mode 4 4 Data Carrier Detect DCD Function Mode DCD function mode is determined by...

Page 15: ...before establishing a PPP connection Connect the module to PC and enter the PIN code if the SIM card PIN is locked Make sure the SIM card can successfully register to the GPRS network 5 2 Modem Confi...

Page 16: ...C20 PPP Application Note UC20_PPP_Application_Note Confidential Released 15 29 1 Click button Start Settings Control Panel Phone and Modem Options Please refer to Figure 4 Figure 4 Phone and Modem Opt...

Page 17: ...Options and select Modems Add to add a new modem Refer to Figure 5 Figure 5 Add a New Modem Install the new modem refer to the instructions on the screen select Standard 19200 bps Modem and a port COM...

Page 18: ...UMTS HSPA Module Series UC20 PPP Application Note UC20_PPP_Application_Note Confidential Released 17 29 Figure 6 Select Model of the Modem Figure 7 Select a Port Quectel Confidential...

Page 19: ...uccessfully 5 2 2 Configure the Modem Driver Select the Standard 19200 bps Modem which has been installed click Properties button choose Maximum Port Speed as 115200 default value then click Advanced...

Page 20: ...eleased 19 29 Figure 9 Configure the Modem Driver In the example above the settings predefine a PDP context whose CID 1 PDP type IP and APN CMNET CMNET is the APN for the network provider China Mobile...

Page 21: ...ial Released 20 29 5 3 Dial up Network Configuration 5 3 1 Create a New Connection Open Control Panel and double click Network Connections then click Create a new connection from the right list of Net...

Page 22: ...ton choose Connect to the network at my workplace Next then select Dial up connection Refer to Figure 11 Figure 11 Set up the New Connection 5 3 2 Configure the Connection Input Company Name as the co...

Page 23: ...ure 12 Configure the Setting 5 3 3 Configure the Dial up Tool Click Properties button from the popup box and Configure button to configure the Standard 19200 bps Modem select 115200 from the drop down...

Page 24: ...Configure the Dial up 5 3 4 Establish the Dial up Connection Right click Test which was created as the new connection and click Connect Dial from network connections It is successful to establish the...

Page 25: ...UMTS HSPA Module Series UC20 PPP Application Note UC20_PPP_Application_Note Confidential Released 24 29 Figure 14 Establish the Dial up Connection Quectel Confidential...

Page 26: ...pp peers directory The content of these three files are shown below The content of the file wcdma is shown as below nodetach nolock dev ttyUSB3 Must be your own device descriptor for UC20 USB Modem Po...

Page 27: ...ct is shown as below ABORT OK ABORT BUSY ABORT DELAYED ABORT NO ANSWER ABORT NO CARRIER ABORT NO DIALTONE ABORT VOICE ABORT ERROR ABORT RINGING TIMEOUT 12 K K K ATH ATH ATH ATZ SAY nGoodbay n Please c...

Page 28: ...Point Protocol inet addr 10 156 235 241 P t P 10 64 64 64 Mask 255 255 255 255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU 1500 Metric 1 RX packets 6 errors 0 dropped 0 overruns 0 frame 0 TX packets 4...

Page 29: ...assumed to deliver packets in order It is intended that PPP provides a common solution for easy connection of a wide variety of hosts bridges and routers UART Universal Asynchronous Receiver Transmitt...

Page 30: ...ased 29 29 IPCP IP Control Protocol LCP Link Control Protocol MCU Micro Control Unit MS Mobile Station PAP Password Authentication Protocol PDP Packet Data Protocol PIN Personal Identification Number...

Reviews: