Reference.GSM History

Show minor edits - Show changes to markup

September 23, 2014, at 07:43 PM by Roberto Guido - removed broken links to xively contents
Changed lines 46-48 from:
to:
November 08, 2013, at 04:30 PM by Scott Fitzgerald -
Changed lines 46-48 from:
to:
November 08, 2013, at 01:16 PM by Scott Fitzgerald -
Deleted line 45:
March 11, 2013, at 03:30 PM by Scott Fitzgerald -
Changed lines 6-7 from:
to:
March 11, 2013, at 09:56 AM by Scott Fitzgerald -
Changed lines 159-161 from:

GSMPin class

The GSMPin class has utilities for communicating with the SIM card.

to:

GSMPIN class

The GSMPIN class has utilities for communicating with the SIM card.

March 03, 2013, at 08:47 AM by Scott Fitzgerald -
Changed lines 54-55 from:
to:
February 27, 2013, at 01:39 PM by Scott Fitzgerald -
Changed lines 27-28 from:
  • GSMServer includes implementations for a server, similar to the Ethernet and WiFi libraries. ''NB : A number of network operators do not allow for incoming connections from the public internet, but will allow them from inside their own. Check with your operator to see what restrictions there are on data use."
to:
  • GSMServer includes implementations for a server, similar to the Ethernet and WiFi libraries. NB : A number of network operators do not allow for incoming connections from the public internet, but will allow them from inside their own. Check with your operator to see what restrictions there are on data use.
February 18, 2013, at 10:50 AM by Scott Fitzgerald -
Added lines 173-181:

GSMBand class

The GSMBand class provides information about the frequency band the modem connects to. There are also methods for setting the band.

February 04, 2013, at 11:48 AM by Scott Fitzgerald -
Changed lines 9-10 from:

The GSM shield has a modem that transfers data from a serial port to the GSM network. The modem executes operations via a series of AT commands. The library abstracts low level communications between the modem and SIM card.

to:

The GSM shield has a modem that transfers data from a serial port to the GSM network. The modem executes operations via a series of AT commands. The library abstracts low level communications between the modem and SIM card. It relies on the Software Serial library for communication between the moden and Arduino.

February 04, 2013, at 09:28 AM by Scott Fitzgerald -
Changed lines 156-157 from:
to:
February 03, 2013, at 08:44 PM by Scott Fitzgerald -
Deleted line 45:
February 02, 2013, at 11:05 AM by Scott Fitzgerald -
Changed line 47 from:
to:
January 30, 2013, at 10:53 AM by Scott Fitzgerald -
Changed lines 47-49 from:
to:
January 30, 2013, at 08:09 AM by Scott Fitzgerald -
Changed lines 27-28 from:
  • GSMServer includes implementations for a server, similar to the Ethernet and WiFi libraries.
to:
  • GSMServer includes implementations for a server, similar to the Ethernet and WiFi libraries. ''NB : A number of network operators do not allow for incoming connections from the public internet, but will allow them from inside their own. Check with your operator to see what restrictions there are on data use."
January 29, 2013, at 12:39 PM by Scott Fitzgerald -
Changed lines 161-162 from:
to:
Changed lines 170-172 from:
to:
January 29, 2013, at 12:26 PM by Scott Fitzgerald -
Deleted lines 12-15:

Ethernet library compatibility

The library tries to be as compatible as possible with the current Ethernet library. Porting a program from an Arduino Ethernet or WiFi library to an Arduino with the GSM Shield should be fairly easy. While it is not possible to simply run Ethernet-compatible code on the GSM shield as-is, some minor, library specific, modifications will be necessary, like including the GSM and GPRS specific libraries and getting network configuration settings from your cellular network provider.

Changed lines 31-32 from:
to:

Ethernet library compatibility

The library tries to be as compatible as possible with the current Ethernet library. Porting a program from an Arduino Ethernet or WiFi library to an Arduino with the GSM Shield should be fairly easy. While it is not possible to simply run Ethernet-compatible code on the GSM shield as-is, some minor, library specific, modifications will be necessary, like including the GSM and GPRS specific libraries and getting network configuration settings from your cellular network provider.

January 18, 2013, at 05:00 PM by Scott Fitzgerald -
Changed lines 33-36 from:
  • A number of utility classes such as GSMScanner, GSMModem, and GSMBand.

to:
  • A number of utility classes such as GSMScanner and GSMModem

Deleted line 55:
Deleted lines 159-166:

GSMBand class

The GSMBand class gives information about the GSM band the modem is connected to.

December 01, 2012, at 02:44 PM by Scott Fitzgerald -
Changed lines 172-173 from:
to:
December 01, 2012, at 02:40 PM by Scott Fitzgerald -
Changed lines 69-70 from:

This class is responsible for including the files that are part of the library. It prepares the functions that will communicate with the modem.

to:

This class prepares the functions that will communicate with the modem.

Changed lines 78-79 from:

Enables voice communication through the modem. A microphone and speaker need to be added for full use.

to:

Enables voice communication through the modem. A microphone and speaker need to be added for full use.

Deleted line 107:

The GSM shield allows you to open TCP connections, either as server or client.

Changed lines 115-116 from:
to:

The client class creates clients that can connect to servers and send and receive data.

Changed lines 132-133 from:
to:

The Server class creates servers which can send data to and receive data from connected clients (programs running on other computers or devices).

Changed lines 145-146 from:
to:

The GSMModem class facilitates diagnostic communication with the modem.

Changed lines 153-154 from:
to:

The GSMScanner class provides diagnostic information about the network and carrier.

Changed lines 162-163 from:
to:

The GSMBand class gives information about the GSM band the modem is connected to.

Changed lines 170-171 from:
to:

The GSMPin class has utilities for communicating with the SIM card.

December 01, 2012, at 02:28 PM by Scott Fitzgerald -
Added lines 3-6:
Changed lines 35-37 from:

Refer to the class specific pages below for use and references.

to:
Changed lines 179-207 from:

Examples

There are two groups of examples for the GSM shield. There are examples to illustrate the possibilities of the shield, like how to send SMS messages and connect to the internet. There is also set of example tools that you can use to debug the functionality of the library and the hardware at lower level.

Tools

For additional information on the GSM shield, see the Getting Started page and the GSM shield hardware page.

\\

to:
November 30, 2012, at 11:25 PM by Scott Fitzgerald -
Changed lines 134-135 from:
to:
November 30, 2012, at 10:37 PM by Scott Fitzgerald -
Changed lines 132-147 from:
to:
November 30, 2012, at 08:43 PM by Scott Fitzgerald -
Added lines 38-39:
Added lines 47-48:
Added lines 60-61:
Changed lines 78-81 from:

The following two classes build on top of the GPRS class to offer either client or server functionality over the GPRS connection.

to:
Added lines 84-85:
Changed lines 98-99 from:

class GSMServer

to:

GSMServer class

Added lines 110-132:

GSMModem class

GSMScanner class

GSMBand class

November 30, 2012, at 08:31 PM by Scott Fitzgerald -
Changed lines 17-30 from:
  • The GSM? class takes care of commands to the radio modem. This handles the connectivity aspects of the shield and registers your system in the GSM infrastructure. All of your GSM/GPRS programs will need to include an object of this class to handle the necessary low level communication.

  • Voice call handling, managed by the the GSMVoiceCall? class.

  • Send/receive SMS messages, managed by the GSM_SMS? class.

  • The GPRS? class is for connecting to the internet.

  • GSMClient includes implementations for a client, similar to the Ethernet and WiFi libraries.

  • GSMServer includes implementations for a server, similar to the Ethernet and WiFi libraries.

  • A number of utility classes such as GSMScanner, GSMModem, and GSMBand.
to:
  • The GSM class takes care of commands to the radio modem. This handles the connectivity aspects of the shield and registers your system in the GSM infrastructure. All of your GSM/GPRS programs will need to include an object of this class to handle the necessary low level communication.

  • Voice call handling, managed by the GSMVoiceCall class.

  • Send/receive SMS messages, managed by the GSM_SMS class.

  • The GPRSClass is for connecting to the internet.

  • GSMClient includes implementations for a client, similar to the Ethernet and WiFi libraries.

  • GSMServer includes implementations for a server, similar to the Ethernet and WiFi libraries.

  • A number of utility classes such as GSMScanner, GSMModem, and GSMBand.
Changed lines 33-35 from:

GSM class?

This class doesn't have any accessible methods, but is responsible of including all the files that are part of the library. It makes a lot of work internally to prepare all the variables and buffers that will carry the data to/from the modem.

to:

GSM class

This class is responsible for including the files that are part of the library. It prepares the functions that will communicate with the modem.

Changed lines 41-45 from:
  • GSMVoiceCall class
    Initiate and receive voice calls
  • GSM_SMS class
    Send and receive Short Message Service (SMS) messages
to:

GSMVoiceCall class

Enables voice communication through the modem. A microphone and speaker need to be added for full use.

Changed lines 52-59 from:

GRPS class?

Allows you to open server and client TCP connections

  • GSMClient class
  • GSMServer class

to:

GSM_SMS class

Facilitates sending and receiving Short Message Service (SMS) messages.

GPRS class

The GSM shield allows you to open TCP connections, either as server or client. This class is responsible for including the files that are part of the library that involve TCP communication.

The following two classes build on top of the GPRS class to offer either client or server functionality over the GPRS connection.

GSMClient class

class GSMServer

November 30, 2012, at 07:49 PM by Scott Fitzgerald -
Changed lines 3-8 from:

With the Arduino GSM Shield, this library allows an Arduino board to do most of the operations you can do with a GSM phone: placing and getting calls, or sending and receiving SMS. Additionally the shield can connect to the internet over a GPRS network.

The GSM shield has a modem that transfers data from a serial port to the GSM network. The modem executes operations via a series of AT commands. The library abstracts low level details about the way the modem and SIM work by translating your code to AT commands, sending them to the modem and handling the answers.

Typically, each command is part of a series that is sent to the modem. The library can also receive information and return it to you when necessary.

to:

With the Arduino GSM Shield, this library enables an Arduino board to do most of the operations you can do with a GSM phone: place and receive voice calls, send and receive SMS, and connect to the internet over a GPRS network.

The GSM shield has a modem that transfers data from a serial port to the GSM network. The modem executes operations via a series of AT commands. The library abstracts low level communications between the modem and SIM card.

Typically, each individual command is part of a larger series necessary to execute a particular function. The library can also receive information and return it to you when necessary.

Changed lines 11-14 from:

The library tries to be as compatible as possible with the current Ethernet library. Porting a program from an Arduino Ethernet or WiFi library to an Arduino with the GSM Shield should be trivial. It is not possible to simply run Ethernet-compatible code on the GSM shield as-is, some minor, library specific, modifications will be necessary.

To avoid overloading the memory of your Arduino board, the library has been subdivided into different parts.

to:

The library tries to be as compatible as possible with the current Ethernet library. Porting a program from an Arduino Ethernet or WiFi library to an Arduino with the GSM Shield should be fairly easy. While it is not possible to simply run Ethernet-compatible code on the GSM shield as-is, some minor, library specific, modifications will be necessary, like including the GSM and GPRS specific libraries and getting network configuration settings from your cellular network provider.

Changed lines 15-18 from:

There are four main blocks in the library:

  • Commands to the radio modem. This handles the connectivity aspects of the shield and registers your system in the GSM infrastructure. The GSM? class takes care of this. All of your GSM/GPRS programs will need to include an object of that class to handle the necessary low level communication.
to:

As the library enables multiple types of functionality, there are a number of different classes.

  • The GSM? class takes care of commands to the radio modem. This handles the connectivity aspects of the shield and registers your system in the GSM infrastructure. All of your GSM/GPRS programs will need to include an object of this class to handle the necessary low level communication.
Changed lines 23-24 from:
  • The GPRS? class for connecting to the internet, which includes implementations for a server or a client, just as the Ethernet and WiFi libraries do. These are managed by GSMServer and GSMClient.
to:
  • The GPRS? class is for connecting to the internet.

  • GSMClient includes implementations for a client, similar to the Ethernet and WiFi libraries.

  • GSMServer includes implementations for a server, similar to the Ethernet and WiFi libraries.

  • A number of utility classes such as GSMScanner, GSMModem, and GSMBand.
November 30, 2012, at 06:09 PM by Scott Fitzgerald -
Deleted lines 2-5:
Changed lines 27-30 from:

Refer to the class specific pages for use and references.

For additional information on the GSM shield, see the Getting Started page and the GSM shield hardware page. For an in depth explanation of how the GSM network operates, see the GSM in Depth page?.

to:

Refer to the class specific pages below for use and references.

GSM class?

This class doesn't have any accessible methods, but is responsible of including all the files that are part of the library. It makes a lot of work internally to prepare all the variables and buffers that will carry the data to/from the modem.

  • GSMVoiceCall class
    Initiate and receive voice calls
  • GSM_SMS class
    Send and receive Short Message Service (SMS) messages

GRPS class?

Allows you to open server and client TCP connections

  • GSMClient class
  • GSMServer class

Changed lines 70-93 from:
to:

For additional information on the GSM shield, see the Getting Started page and the GSM shield hardware page.

Added line 72:

\\

November 16, 2012, at 06:34 PM by Scott Fitzgerald -
Deleted lines 34-55:
Changed lines 37-38 from:

Probably the best way to learn about the GSM library is by trying out the examples that come with it. There are two main groups of examples. On top of the normal examples to illustrate the possibilities of the shield, there is a set of example tools that you can use to debug the functionality of the library and the hardware at lower level.

to:

There are two groups of examples for the GSM shield. There are examples to illustrate the possibilities of the shield, like how to send SMS messages and connect to the internet. There is also set of example tools that you can use to debug the functionality of the library and the hardware at lower level.

Added lines 57-78:
November 13, 2012, at 10:41 PM by Scott Fitzgerald -
Changed lines 53-56 from:
  • GSMClient Class
  • GSMServer Class

to:
  • GSMClient class
  • GSMServer class

November 13, 2012, at 10:40 PM by Scott Fitzgerald -
Changed line 43 from:
  • GSMVoiceCall class\\
to:
  • GSMVoiceCall class\\
Changed line 45 from:
  • GSM_SMS class\\
to:
  • GSM_SMS class\\
Changed lines 53-56 from:
  • GSMClient Class
  • GSMServer Class

to:
  • GSMClient Class
  • GSMServer Class

November 13, 2012, at 10:39 PM by Scott Fitzgerald -
Changed lines 39-40 from:

GSM class

to:
Changed lines 43-52 from:

GSMVoiceCall class

Add a microphone and a loudspeaker to the shield and you will be able to initiate and receive voice calls (you can still make and receive calls without either a mic or a speaker ... but what for?)

to:
  • GSMVoiceCall class
    Initiate and receive voice calls
  • GSM_SMS class
    Send and receive Short Message Service (SMS) messages
Changed lines 49-94 from:

GSM_SMS class

You can send and receive SMSs (for Short Message Service), exactly the same way you do with your mobile phone.

GPRS class

The shield allows you to open TCP connections, either as server or client. TCP connections are like "pipes" you set up between computers. Through these pipes each device can write bytes and read the bytes written by the other side. Through these pipes you can use services such as email, ftp and of course web services: Google, Twitter, Cosm ... Some times you will access those services directly from your Arduino. In some other cases you'll prefer to connect Arduino to a service of your own, deployed in your own computer or in a cloud based server such as GoogleApps Engine.

The following two classes build on top of the GPRS class to offer either client or server functionality over the GPRS connection.

GSMClient class

class GSMServer

to:

GRPS class?

Allows you to open server and client TCP connections

  • GSMClient Class
  • GSMServer Class

November 13, 2012, at 10:01 PM by Scott Fitzgerald -
Changed lines 25-28 from:
  • Voice call handling, managed by the the GSMVoiceCall? class.

  • Send/receive SMS messages, managed by the GSM_SMS? class.
to:
  • Voice call handling, managed by the the GSMVoiceCall? class.

  • Send/receive SMS messages, managed by the GSM_SMS? class.
November 13, 2012, at 09:21 PM by Scott Fitzgerald -
Changed lines 23-24 from:
  • Commands to the radio modem. This handles the connectivity aspects of the shield and registers your system in the GSM infrastructure. The class takes care of this. All of your GSM/GPRS programs will need to include an object of that class to handle the necessary low level communication.
to:
  • Commands to the radio modem. This handles the connectivity aspects of the shield and registers your system in the GSM infrastructure. The GSM? class takes care of this. All of your GSM/GPRS programs will need to include an object of that class to handle the necessary low level communication.
November 13, 2012, at 09:20 PM by Scott Fitzgerald -
Changed lines 23-30 from:
  • Commands to the radio modem. This handles the connectivity aspects of the shield and registers your system in the GSM infrastructure. The class called GSM takes care of this. All of your GSM/GPRS programs will need to include an object of that class to handle the necessary low level communication.

  • Voice call handling, managed by the the GSMVoiceCall class.

  • Send/receive SMS, managed by the GSM_SMS class.

  • The GPRS class for connecting to the internet, which includes implementations for a server or a client, just as the Ethernet and WiFi libraries do. These are managed by GSMServer and GSMClient.
to:
  • Commands to the radio modem. This handles the connectivity aspects of the shield and registers your system in the GSM infrastructure. The class takes care of this. All of your GSM/GPRS programs will need to include an object of that class to handle the necessary low level communication.

  • Voice call handling, managed by the the GSMVoiceCall? class.

  • Send/receive SMS messages, managed by the GSM_SMS? class.

  • The GPRS? class for connecting to the internet, which includes implementations for a server or a client, just as the Ethernet and WiFi libraries do. These are managed by GSMServer and GSMClient.
November 13, 2012, at 09:14 PM by Scott Fitzgerald -
Changed lines 7-12 from:

With the Arduino GSM Shield, this library allows an Arduino board to do most of the operations you can do with a GSM phone: setting and getting calls, or sending and receiving SMS. On top of that, it you can use the shield to connect to the internet over the GPRS network.

The GSM shield carries a modem that transfers data from a serial port to the GSM network. The way the modem executes operations like "send SMS to number 55533502" is via a series of commands known as AT commands. The provided library basically hides from your code low level details about the way the modem and SIM work. The library will translate your code to AT commands, send them to the modem and handle the answers.

So the library is rather simple. Usually every command you execute will become a series of commands sent to the modem. The library will receive the answers and give your code the information it needs.

to:

With the Arduino GSM Shield, this library allows an Arduino board to do most of the operations you can do with a GSM phone: placing and getting calls, or sending and receiving SMS. Additionally the shield can connect to the internet over a GPRS network.

The GSM shield has a modem that transfers data from a serial port to the GSM network. The modem executes operations via a series of AT commands. The library abstracts low level details about the way the modem and SIM work by translating your code to AT commands, sending them to the modem and handling the answers.

Typically, each command is part of a series that is sent to the modem. The library can also receive information and return it to you when necessary.

Changed lines 15-18 from:

The library tries to be as compatible as possible with the current Ethernet library. We want you to move your connected programs from an Arduino Ethernet board to an Arduino Uno with WiFi Shield to an Arduino Mega with GSM Shield. Due to Arduino architecture it is not possible to make run your Ethernet-compatible code on the shield as-is. But doing a few changes in your program's initial lines the rest of the code will just work.

The library to command this shield has been carefully designed to avoid your sketches of flooding the memory of your Arduino board. Therefore it has been subdivided into different parts.

to:

The library tries to be as compatible as possible with the current Ethernet library. Porting a program from an Arduino Ethernet or WiFi library to an Arduino with the GSM Shield should be trivial. It is not possible to simply run Ethernet-compatible code on the GSM shield as-is, some minor, library specific, modifications will be necessary.

To avoid overloading the memory of your Arduino board, the library has been subdivided into different parts.

Changed lines 23-32 from:
  • There is code to basically command the radio modem, it handles the connectivity aspects of the shield it registers your system in the GSM infrastructure. The class called GSM takes care of this. All of your GSM/GPRS programs will need to include an object of that class to handle the low level communication

  • A part of the library handles voice calls, the class GSMVoiceCall is taking care of that

  • If you want your program to send/receive SMS, you will have to declare an object of the class GSM_SMS

  • Finally, if you need your project to connect to the internet wirelessly, you will have to include an object from the GPRS class. On top of that you might be interested in implementing a server or a client, and just as the Ethernet Library does, the GSM Library includes GSMClient and GSMServer for you to work with

In other words, this library has a bunch of different classes. It also contains a whole lot of hidden pearls that can make it very useful in any of your projects.

to:
  • Commands to the radio modem. This handles the connectivity aspects of the shield and registers your system in the GSM infrastructure. The class called GSM takes care of this. All of your GSM/GPRS programs will need to include an object of that class to handle the necessary low level communication.

  • Voice call handling, managed by the the GSMVoiceCall class.

  • Send/receive SMS, managed by the GSM_SMS class.

  • The GPRS class for connecting to the internet, which includes implementations for a server or a client, just as the Ethernet and WiFi libraries do. These are managed by GSMServer and GSMClient.

Refer to the class specific pages for use and references.

October 26, 2012, at 05:36 PM by Scott Fitzgerald -
Changed line 47 from:
to:
October 25, 2012, at 05:34 PM by David Cuartielles -
Changed lines 33-34 from:

For additional information on the GSM shield, see the Getting Started page and the GSM shield hardware page.

to:

For additional information on the GSM shield, see the Getting Started page and the GSM shield hardware page. For an in depth explanation of how the GSM network operates, see the GSM in Depth page?.

Changed lines 104-114 from:
to:
Changed lines 116-121 from:
to:
October 25, 2012, at 05:24 PM by David Cuartielles -
Added lines 3-6:
Changed lines 35-36 from:

class GSM

to:
Changed lines 43-44 from:

class GSMVoiceCall

to:

GSMVoiceCall class

Changed lines 54-55 from:

class GSM_SMS

to:

GSM_SMS class

Changed lines 69-70 from:

class GPRS

to:

GPRS class

Changed lines 75-76 from:

class GSMClient

to:

GSMClient class

Changed lines 104-114 from:
to:
Changed lines 116-121 from:
to:
October 25, 2012, at 05:06 PM by David Cuartielles -
Changed lines 83-89 from:
to:
October 25, 2012, at 05:04 PM by David Cuartielles -
Added lines 106-113:
October 25, 2012, at 03:44 PM by David Cuartielles -
Added lines 94-95:

Probably the best way to learn about the GSM library is by trying out the examples that come with it. There are two main groups of examples. On top of the normal examples to illustrate the possibilities of the shield, there is a set of example tools that you can use to debug the functionality of the library and the hardware at lower level.

October 25, 2012, at 03:35 PM by David Cuartielles -
Changed lines 33-35 from:

This does something awesome........

to:

This class doesn't have any accessible methods, but is responsible of including all the files that are part of the library. It makes a lot of work internally to prepare all the variables and buffers that will carry the data to/from the modem.

Changed line 72 from:
to:
Changed line 74 from:
to:
Changed line 77 from:
to:
Changed lines 79-80 from:
to:
Changed line 85 from:
to:
Changed line 89 from:
to:
October 25, 2012, at 03:31 PM by David Cuartielles -
Changed lines 9-10 from:

Ethernet library compatibility

to:

Ethernet library compatibility

Added lines 15-16:

Library structure

Changed line 74 from:
to:
Changed line 76 from:
to:
Changed line 79 from:
to:
Changed lines 81-82 from:
to:
Changed line 87 from:
to:
Changed line 91 from:
to:
October 25, 2012, at 03:30 PM by David Cuartielles -
October 25, 2012, at 03:30 PM by David Cuartielles -
Added lines 61-66:

class GPRS

The shield allows you to open TCP connections, either as server or client. TCP connections are like "pipes" you set up between computers. Through these pipes each device can write bytes and read the bytes written by the other side. Through these pipes you can use services such as email, ftp and of course web services: Google, Twitter, Cosm ... Some times you will access those services directly from your Arduino. In some other cases you'll prefer to connect Arduino to a service of your own, deployed in your own computer or in a cloud based server such as GoogleApps Engine.

The following two classes build on top of the GPRS class to offer either client or server functionality over the GPRS connection.

Deleted lines 68-69:

This does something awesome........

Changed lines 94-97 from:
to:
October 25, 2012, at 03:15 PM by David Cuartielles -
Added lines 89-93:
October 25, 2012, at 03:10 PM by David Cuartielles -
Added lines 5-12:

The GSM shield carries a modem that transfers data from a serial port to the GSM network. The way the modem executes operations like "send SMS to number 55533502" is via a series of commands known as AT commands. The provided library basically hides from your code low level details about the way the modem and SIM work. The library will translate your code to AT commands, send them to the modem and handle the answers.

So the library is rather simple. Usually every command you execute will become a series of commands sent to the modem. The library will receive the answers and give your code the information it needs.

Ethernet library compatibility

The library tries to be as compatible as possible with the current Ethernet library. We want you to move your connected programs from an Arduino Ethernet board to an Arduino Uno with WiFi Shield to an Arduino Mega with GSM Shield. Due to Arduino architecture it is not possible to make run your Ethernet-compatible code on the shield as-is. But doing a few changes in your program's initial lines the rest of the code will just work.

Changed lines 61-62 from:

class GPRS

to:

class GSMClient

Changed lines 65-85 from:
to:
Deleted line 87:
October 25, 2012, at 02:50 PM by David Cuartielles -
Deleted line 30:
Added lines 40-54:

You can send and receive SMSs (for Short Message Service), exactly the same way you do with your mobile phone.

class GPRS

Changed lines 59-66 from:

class GPRS

This does something awesome........

to:
October 25, 2012, at 02:32 PM by David Cuartielles -
Changed lines 29-30 from:

This does something awesome........

to:

Add a microphone and a loudspeaker to the shield and you will be able to initiate and receive voice calls (you can still make and receive calls without either a mic or a speaker ... but what for?)

Added lines 32-37:
October 25, 2012, at 02:25 PM by David Cuartielles -
Changed lines 3-4 from:

With the Arduino GSM Shield, this library allows an Arduino board to connect to......

to:

With the Arduino GSM Shield, this library allows an Arduino board to do most of the operations you can do with a GSM phone: setting and getting calls, or sending and receiving SMS. On top of that, it you can use the shield to connect to the internet over the GPRS network.

The library to command this shield has been carefully designed to avoid your sketches of flooding the memory of your Arduino board. Therefore it has been subdivided into different parts.

There are four main blocks in the library:

  • There is code to basically command the radio modem, it handles the connectivity aspects of the shield it registers your system in the GSM infrastructure. The class called GSM takes care of this. All of your GSM/GPRS programs will need to include an object of that class to handle the low level communication

  • A part of the library handles voice calls, the class GSMVoiceCall is taking care of that

  • If you want your program to send/receive SMS, you will have to declare an object of the class GSM_SMS

  • Finally, if you need your project to connect to the internet wirelessly, you will have to include an object from the GPRS class. On top of that you might be interested in implementing a server or a client, and just as the Ethernet Library does, the GSM Library includes GSMClient and GSMServer for you to work with

In other words, this library has a bunch of different classes. It also contains a whole lot of hidden pearls that can make it very useful in any of your projects.

Changed lines 21-22 from:

class

to:

class GSM

Changed lines 27-46 from:
to:

class GSMVoiceCall

This does something awesome........

class GSM_SMS

This does something awesome........

class GPRS

This does something awesome........

October 22, 2012, at 03:09 PM by Scott Fitzgerald -
Added lines 1-16:

GSM library

With the Arduino GSM Shield, this library allows an Arduino board to connect to......

For additional information on the GSM shield, see the Getting Started page and the GSM shield hardware page.

class

This does something awesome........

Examples


\\

Share