User Tools

Site Tools


raspberrypi:sim900

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
raspberrypi:sim900 [2017/04/15 17:10] – created aistisraspberrypi:sim900 [2017/04/15 21:09] (current) – aistis
Line 1: Line 1:
 {{:raspberrypi:pasted:20170415-171009.png}} {{:raspberrypi:pasted:20170415-171009.png}}
 +
 +http://wiki.seeed.cc/GPRS_Shield_v1.0/
  
 siusti sms siusti sms
Line 13: Line 15:
 > >
 +CMGS: 2 +CMGS: 2
- 
 </code> </code>
 +<code>
 +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);
 +}
 +</code>
 +
 +
 +https://github.com/Seeed-Studio/GPRS_SIM900
 +
 +
raspberrypi/sim900.1492265435.txt.gz · Last modified: by aistis