When using module’s embedded stacks like TCP and UDP protocol, you need to use AT+QICSGP to configure the APN. While using PPP, you need to use AT+CGDCONT to configure the APN.
Instead of Username Password & Authentication AT+CGDCONT contains 3 additional parameters while setting the PDP context.
- PDP_addr (String)
- Data_comp (numeric)
- Head_comp (numeric)
For more details please refer following
For AT+QICSGP :
Section 2.1.1. AT+QICSGP Configure Parameters of a TCP/IP Context in Quectel_XX_TCP(IP)_AT_Command_Manual.pdf
For AT+CGDCONT :
Section 10.2. AT+CGDCONT Define PDP Context in Quectel_XX_AT_Commands_Manual.pdf
Note : XX represent GSM module name that you are currently using. like (MC60/MG36)