Speed – Receiving /sending raw data over GPRS

7 thoughts on “Speed – Receiving /sending raw data over GPRS

  1.  

     

    Hi

    my simply function:

    while(TRUE):                
                            res = SER.readbyte()           
                            if(res != -1):                                           
                                        MDM.sendbyte(res, 0)
                                       
                            res = MDM.readbyte()      
                            if(res != -1):                        
                                            SER.sendbyte(res)

     

    Works very, very slowly…..

    Do you have some optimations/solutions for me?
    How fast to send binary "raw" data, not strings via SER & MDM.?

     

     

    1. How slow is very slow? And again, why not reading/writing strings? They can contain binary "raw" data, not only printable characters, if you might misleading believe (even null char).

  2. Hello,

    I’ m a Mechatronics Engineer in Turkey, Atilim University.

    I have bought Telit GL865 from Telit Turkey’s distributor, LTE.

    I have been working with this module about 1 year and I still couldn’t get "OK" respoonse after sending "AT<CR>" command.

    The datasheets you have published are too complicated to understand. And there are so many unnecessary repetitions in these datasheets.

    What I need to know is, learn how to get -just- an "OK" response from this module. 

    I have connected the module to a microcontroller (supplying with 3.6Vs) with the pins VBATT, VBATT_PA, RESET (going from LOW to HIGH to start the module.) and all other GND pins to the ground.Then TXD and RXD pins and TXD_AUX and RXD_AUX pins to the communication pins of microcontroller. 
    With 115200bps, 8N1, no handshake communication parameters. I have nothing. Then I tried to connect the RTS and CTS pins to the microcontroller. I have nothing again after sending AT command. Then I got nervous and send thousands of AT<CR> commands with 10ms delays, and it gave me these messages:

    1- "Data received: <LF>–<Space>Killing<Space>tasks…<Space>–<LF>

        Data received: Stop<Space>acks:<LF>PH<Space><LF>DL<Space><LF>TM<Space><LF>RR<Space><LF>LP<Space><LF>SI<Space><LF>MM<Space><LF>CM<Space><LF>TE<Space><LF>AT<Space><LF>SS<Space><LF>SM<Space><LF>BAS<Space><LF>AP<Space>                     <LF>PY<Space><LF>MAC<Space><LF>SMN<Space><LF>LLC<Space><LF>SND<Space><LF>LM<Space><LF>IP<Space><LF>TR<Space><LF>All<Space>acks<Space>received<LF><LF>Last<Space>FN<Space>2621686<LF><LF>Protocols<Space>Version:<Space>5.05.000<LF>System<Space>Version:<Space>10.00.154.0-B000<LF><LF>***<Space>SYExit(0)<Space>[<Space>Normal<Space>termination<Space>]<Space>called<Space>from<Space>C5F9BE<Space>(task<Space>KI)<Space>PSW<Space>0043<LF>UHPowerDown<LF>"

    and this message:
    2- "Data received: <LF>Last<Space>FN<Space>0<LF><LF>Protocols<Space>Version:<Space>5.05.000<LF>System<Space>Version:<Space>10.00.154.0-B000<LF><LF>***<Space>EGOLD<Space>Watchdog<Space><LF><LF>Last<Space>FN<Space>0<LF><LF>Protocols<Space>Version:<Space>5.05.000<LF>System<Space>Version:<Space>10.00.154.0-B000<LF><LF>***<Space>EGOLD<Space>Watchdog<Space><LF><LF>Last<Space>FN<Space>0<LF><LF>Protocols<Space>Version:<Space>5.05.000<LF>System<Space>Version:<Space>10.00.154.0-B000<LF><LF>***<Space>EGOLD<Space>Watchdog<Space><LF>"
    I don’t even wonder what does these terms means.

    I just need you to give me only the specific things to see the "OK" response. This is all I want about a year. 

    So, tell me please:

    -Baudrate?
    -Handshake? (CTS RTS are necessary?)
    -Which Pins to use?
    -8bit? Parity bit? Stop bit? Start bit?
    -Voltage Levels?
    -What commands to send?
    -Timings?
    Can you please send me a SIMPLE, BASIC and EXPLANATORY and VERY VERY SIMPLE SCHEMATIC PLEASE?????
    Best wishes with respect…
    Thank you for your best interests from now.
    Hope to hear soon.

    Sincerely,
    Cemil Baki KIYAK

     
    1. You are obviously missing something in your hardware, and I guess a careful readings of the documentation.

       

      So, tell me please:

      -Baudrate?
       
      See AT+IPR.
      -Handshake? (CTS RTS are necessary?)
       
      Usualy no, see AT&K and AT+CFLO.
      -Which Pins to use?
       
      Power pins, control pins, serial port pins (with appropriate level convereters). See Hardware User Guide. You are obviously missing the ON/OFF signal to start/stop the module.
      -8bit? Parity bit? Stop bit? Start bit?
       
      Same as above.
      -Voltage Levels?
       
      Same as above. 
       
      -What commands to send?
       
      See Software User Guide, AT Commands Reference Guide.
      -Timings?
       
      As above.

       

       

      I suggest to start first with a proven hardware test platform as Telit EVK, then have a good review of your hardware. Read the documents, the forum cannot  replace this, will be no more replies here if only such basics and general questions will be placed.

       

        1. Thank you too Cemil for posting, I hope you’ll make great progress with the project, and come back if you still have unanswered questions. Don’t forget the ON/OFF signal!

          1. I’m working on it now. I understand the "RESET" pin as "ON/OFF Signal". I did that already but still the same situation persists. Thank you so much for your interests again.

            Best wishes,

            Sincerely,

            Cemil Baki KIYAK