By default, the module can automatically perform GPRS attach.
Ensure that the GPRS attach is set before the PPP connection is set up.
Add the AT+CGATT? command to the process to query the GPRS status. If
the module returns 1, set up PPP connection directly; otherwise, set GPRS
attach manually by executing the command AT+CGATT=1.