GPRS (General Packet Radio Service) is a type of data transfer service that enables the transmission of data over a mobile phone network. It is a packet-based service that allows data to be transmitted over the Internet or other networks using a wireless connection.

To send data over the Internet using GPRS, you will need to have a device (such as a mobile phone or a computer) that is equipped with a GPRS-enabled SIM card and a GPRS connection. You will also need to have a data plan from your mobile network operator that includes GPRS service.

Once you have these things, you can send data over the Internet using GPRS by following these steps:

Connect your device to a GPRS network. This is usually done by enabling the mobile data connection on your device and selecting the GPRS network.

Open a web browser or other Internet-enabled application on your device.

Enter the URL of the website or resource that you want to access, or initiate the transfer of data using the Internet-enabled application.

The data will be transmitted over the Internet using the GPRS connection.


Note that the speed and quality of the GPRS connection can vary depending on your location, network coverage, and other factors.

A GSM modem is a device that is designed to enable a computer or other device to send and receive data over a mobile phone network using the GSM (Global System for Mobile Communications) protocol. The SIM800 is a type of GSM modem that is commonly used in a variety of applications, including wireless data transfer, voice communication, and SMS messaging.

SIM800 GSM MODEM

Some features of the SIM800 GSM modem include:

  • Support for GSM frequencies: 850/900/1800/1900 MHz
  • Data transfer speeds of up to 85.6 kbps
  • TCP/IP stack and HTTP support for Internet connectivity
  • SMS messaging capabilities
  • Support for voice calls and fax transmission
  • Built-in audio processing and amplifier for speaker and microphone
  • Small size and low power consumption

The SIM800 GSM modem can be used in a variety of applications, including remote monitoring, asset tracking, and automation systems. It can be integrated with a computer or other device using a serial or USB interface. Some common uses of the SIM800 GSM modem include:

  • Sending and receiving SMS messages
  • Connecting to the Internet over a mobile phone network
  • Making and receiving voice calls
  • Sending and receiving faxes
  • Remotely controlling and monitoring devices
  • Tracking the location of assets
  • Sending and receiving data from remote locations

Components required:


    Server side code: Need to upload to your local or ccloud server

    
    <?php
    $var1 = $_GET['apples'];
    $var2 = $_GET['oranges'];
    $fileContent = "You Have ".$var1." apples, and ".$var2." Oranges.\n";
    $fielStatus = file_put_contents('myfile.txt',$fileContent,FILE_APPEND);
    if($fielStatus != false)
    {
    echo "Success: data written to file";
    } 
    else
    {
    echo "Error: data could not write to file";
    }
    ?> 
    
    Apply the AT COMMANDS one after another to test is manually.
    • AT+SAPBR=3,1,"APN","airtelgprs.com"\r\n
    • AT+SAPBR=1,1\r\n
    • AT+HTTPINIT\r\n
    • AT+HTTPPARA="CID",1\r\n
    • AT+HTTPPARA="URL","http://myengineeringstuffs.com/test/test.php?apples=10&oranges=50"\r\n
    • AT_HTTPACTION=0\r\n
    • AT+HTTPREAD=0,29\r\n
    Complete video tutorial: