One thought on “Setting up ppp connection after a connection loss fails.”
Hi!
I try to simulate a connection loss by disconnecting the antenna after a valid ppp connection has been set up.
After reconnecting the antenna, activating a context again and trying to set up a ppp connection, the modem always sends
+CGEV: ME DEACT IP, , 1
and the ppp connection fails.
Why do I get this URC? Am I doing something wrong? It seems as if IP Control Protocol is failing and the modem cannot receive IP configuration from the network. IP phase is deactivated by the modem.
I have attached a full debug output.
The basic steps I take to set up a ppp connection after network registration:
> AT+CGATT=1
< OK
> AT+CGDCONT=1,”IP”,”gprswap”
< OK
> AT+CGDATA=”PPP”,1
< CONNECT
I also use AT&C0 to disable data carrier detect. When the DCD is disabled the modem does not hangup anymore after the data connection.
We use cookies to enhance your browsing experience and help us improve our websites. To improve our website, we carefully select third parties that use cookies to allow us to serve specific content and achieve the purposes set out in our cookie policy. For more information on how to make adjustments through your browser to the cookies being used on your device, please click Find Out More link. By closing this banner or continuing to browse our website, you agree to our use of such cookies. FIND OUT MORE
Hi!
I try to simulate a connection loss by disconnecting the antenna after a valid ppp connection has been set up.
After reconnecting the antenna, activating a context again and trying to set up a ppp connection, the modem always sends
+CGEV: ME DEACT IP, , 1
and the ppp connection fails.
Why do I get this URC? Am I doing something wrong? It seems as if IP Control Protocol is failing and the modem cannot receive IP configuration from the network. IP phase is deactivated by the modem.
I have attached a full debug output.
The basic steps I take to set up a ppp connection after network registration:
> AT+CGATT=1
< OK
> AT+CGDCONT=1,”IP”,”gprswap”
< OK
> AT+CGDATA=”PPP”,1
< CONNECT
I also use AT&C0 to disable data carrier detect. When the DCD is disabled the modem does not hangup anymore after the data connection.
Thanks in advance!
Regards,
Christopher