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’m using a gl865 module and I try to transmit an GPRS data.
Sometimes, the connection takes about 60 secs to establish it.
The problem is when the module is waiting for the connection and if variation occurs in their GPIO pins
I can’t to read this pins because module is busy in the connection.
How to solve this?
Pablo M. Rodriguez | R & D Director
TecKey S.A.
Ciudadela, Buenos Aires, Argentina.
You can use a smaller timeout value – connTo in AT#SCFG
or
allow connection attempt abort – abortConnAttempt in AT#SCFEXT2
or
use CMUX.
I tested with the following settings:
AT+CGDCONT=1,"IP","internet.gprs.movistar.com.ar",,,
AT#SCFG=1,0,0,5,50,50
AT#SGACT=1,1,"wap","wap"
They should cancel the connection after a timeout of 5 seconds, but it does not happen.
What’s wrong?
Best regards
Are you sure you want PDP 0 and not 1?
I must connect to the GPRS context every 60 seconds, send a UDP packet and then disconnect.
Then do this:
CONNECT.
AT+CGDCONT=1,"IP","internet.gprs.movistar.com.ar",,,
AT#SCFG=1,0,0,5,50,50
AT#SGACT=1.1, "wap", "wap"
SEND PACKET.
AT#SD=1,1,2501, "direccion.dyndns.org",0,2501,1
AT#SSENDEXT=1,304
Wait ">" sign
Transmit 304 bytes of data ………………………
Finally, transmit CTRL+Z
AT#SH=1
AT#SGACT=1.0
Once again, you are defining the PDP context 1 (CGDCONT) and then you configure for PDP 0 (SCFG), then activate with PDP 1.
I’ve tried changing the parameter.
Works in the debugger, but when I compile and run the software on the module is not communicating.
Maybe you have wrong APN data, "wap", "wap" doesn’t sound as a full Internet one.