Hi all,
I'm trying to a make a project where I can send SMS to multiple recipients. I'm not sure if its possible to do so on the GSM shield. But if it does, anyone here knows the syntax for it? Cause I can't seem to find one on the internet.
Thanks,
Joy
create an array of recipients and walk through it
char recepients[20][12] = { "5551234", ...} // placeholder for 20 phone numbers
for (int i=0; i < numberOfRecepients; i++)
{
status = false;
for (int tries=0; tries < 3 && status == false; tries++)
{
status = sendSMS(recepient[i]);
}
if (status == false) write_error_log();
}