GPRS SHIELD: anwers of commands

GOOD AFTERNOON. I´M FROM MEXICO AND I TRY TO DO MY BEST WITH MY ENGLISH.

i’m a beginner. WOULD YOU EXPLAIN ME HOW CAN I SEE THE ANSWER OF EACH INSTRUCTION?. I HAVE AN ARDUINO UNO INTERCONECTED WITH A GPRS SHIELD. I USE A SERIAL SOFTWARE USING PINS 7&8 BECAUSE I WANT TO CHECK (IN PINS 0&1) THE INFORMATION IN THE SERIAL MONITOR.

I GENERATE A CALL BUT I NEED TO CONTROL THIS CALL ACORDING TO THE ANSWER (FOR EXAMPLE: NO DIAL TONE, BUSY, NO ANSWER, OK)

#include <SoftwareSerial.h>
#include <String.h>
SoftwareSerial mySerial(7, 8);

String telefono = digito2+digito2+digito2+digito2+digito5+digito5+digito2+digito9+digito7+digito7;

String llamada = “ATD + +521”+telefono+";";

mySerial.println(llamada);

HOW CAN I DO IT?

THANK´S A LOT.

Hello,

Please use the following code

[code]#include <SoftwareSerial.h>
//#include <String.h>

SoftwareSerial gprsSerial(7,8);

void setup()
{
gprsSerial.begin(19200); // GPRS shield baud rate
Serial.begin(19200);
delay(500);
}

void loop()
{

if (Serial.available()) // if there is incoming serial data
switch(Serial.read()) // read the character
{
case ‘d’: // if the character is ‘d’
DialVoiceCall(); // dial a number
break;

}

if (gprsSerial.available()){ // if the shield has something to say
Serial.write(gprsSerial.read()); // display the output of the shield
}
}

/*

  • Name: DialVoiceCall()
  • Description: Can call/dial a phone number
    /
    void DialVoiceCall()
    {
    gprsSerial.println(“AT+MORING=1;”);
    delay(100);
    gprsSerial.println("ATD+
    ******;");//Enter your phone number deleting the stars , must include country code
    delay(100);
    gprsSerial.println();
    }
    [/code]

After compiling the code please type letter “d” in the serial port.
For more information about the commands used please check the following links
1.http://garden.seeedstudio.com/images/a/a0/SIM900_ATC_V1_00.pdf
2.Gprs shield wiki page
3.Forum post regarding it

Thanks and Regards