65 static char first_phone_number[15];
71 static char second_phone_number[15];
133 char AT_command[30] =
"AT+CMGS=\"";
135 strcat(AT_command, phone_number);
136 strcat(AT_command,
"\"\r");
309 if(!strncmp(RXbuffer.
datos,
"\r\n+CMT:", 7))
313 sending_phone = strtok(RXbuffer.
datos,
"\"");
314 sending_phone = strtok (NULL,
"\"");
315 command = strtok(NULL,
"\r\n");
316 command = strtok (NULL,
"\r\n");
346 strcpy(first_phone_number,
"+598");
348 strcpy(cel_aux, cel);
350 while( cel_aux[i]!= 0x00)
352 cel_aux[i-1] = cel_aux[i];
356 strcat(first_phone_number, cel_aux);
366 strcpy(second_phone_number,
"+598");
368 strcpy(cel_aux, cel);
370 while( cel_aux[i]!= 0x00)
372 cel_aux[i-1] = cel_aux[i];
376 strcat(second_phone_number, cel_aux);
386 return first_phone_number;
398 return second_phone_number;