How to get GPRS data transfer rate and total data transferred from Telit GL 865 modem

8 thoughts on “How to get GPRS data transfer rate and total data transferred from Telit GL 865 modem

  1. I am developing a C library for Telit GL 865 GSM/GPRS modem.

    I searched the Telit manuals for a way to find out total data transferred and data transfer rate of GPRS but in vain.

    So now I’m thinking that I will programmatically calculate the total data transferred and store it in a global variable, as all the data goes through a function in my library which writes the data into the buffer passed to it. But the problem is that where should I store it ? Because if my program crashes or my device is reset/power-off then the global variable will be destroyed. Also if I store it in a file on disk, updating it regularly will result in frequent disk I/O operations.

    Also, another problem is that how do I calculate the data transfer rate (speed) of download and upload (both) ?

    I am quite eager to know how this is implemented in mobile phones. I tried searching in google but couldn’t find anything relevant.

  2. Are you using module’s or host’s TCP/IP stack?

    As far as I know the module which I am using (GL 865) doesn’t have a embedded TCP/IP stack. Correct me if I am wrong.

    Currently I’m manually sending and receiving data using AT commands which are executed by my program after opening an FD (File descriptor) of the modem which is connected to the microprocessor.

      1. It has embedded TCP/IP stack Smile

        See AT#GDATAVOL command.

        Thanks for reply Smile !!

        Is there any AT command to know the current GPRS transfer rate (speed) ??

  3. Okay, thanks for the help.

    I also want to know more about the TCP/IP stack. The telit module is connected in my board through a serial interface (/dev/ttyS3) and the board is running embedded linux on microprocessor – AT91SAM9G45.

    Can I set the GPRS as an network interface to the embedded linux so that any application runs on it can directly connect to the Internet without bothering about AT commands ??