GL865 GPRS Data

8 thoughts on “GL865 GPRS Data

  1. 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.

    1. You can use a smaller timeout value – connTo in AT#SCFG

      or

      allow connection attempt abort – abortConnAttempt in AT#SCFEXT2

      or

      use CMUX.

      1. 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

  2. I am designing a GPS traker.
    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

     
    DISCONNECT.

    AT#SH=1
    AT#SGACT=1.0

     
    But, the connection process is very slow and I not polling GPIO’s when is connecting.
    Have the module a multi-tasking mode to solve this?
    1. Once again, you are defining the PDP context 1 (CGDCONT) and then you configure for PDP 0 (SCFG), then activate with PDP 1.

       

      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.