Hi..
I Have GSM SIM900, and i want to know the number id caller' if the thier the specific number, then the gsm pickup..
i have this code, and wont to repair this to detection the number that calling:
#include "SIM900.h"
#include <SoftwareSerial.h>
#include "call.h"
CallGSM call;
SoftwareSerial SIM900(7, 8);
void setup()
{
pinMode(10,OUTPUT);
Serial.begin(9600);
if (gsm.begin(9600))
{
Serial.println("\nstatus=READY");
}
else
Serial.println("\nstatus=IDLE");
}
void loop()
{
if (call.CallStatus() == CALL_INCOM_VOICE) // Yes! Someone is calling us
{
call.PickUp();
delay(5000);
call.HangUp();
}
}
any help ?????????????? please .........................