{{:raspberrypi:pasted:20170415-171009.png}}
http://wiki.seeed.cc/GPRS_Shield_v1.0/
siusti sms
AT+CMGF=1
OK
AT+CMGS="+37067657342"
> labas
>
>
>
>
+CMGS: 2
void sendSMS()
{
clearString();
SIM900.printf("AT+CMGF=1\r"); //at command for send sms
wait_ms(100);
clearString();
wait_ms(100);
SIM900.printf("AT+CMGS=");
SIM900.putc('"');
SIM900.printf("+32292*******");
SIM900.putc('"');
SIM900.printf("\r");
SIM900.printf("Example Message SMS");
SIM900.putc(0x1A);
wait_ms(20000);
}
https://github.com/Seeed-Studio/GPRS_SIM900