microdimmer / GSMrelay

Arduino, gsm, relay
GNU General Public License v3.0
1 stars 0 forks source link

add send sms support #3

Closed microdimmer closed 4 years ago

microdimmer commented 4 years ago

mySerial.println("AT+CMGF=1"); // Configuring TEXT mode updateSerial(); mySerial.println("AT+CMGS=\"+ZZxxxxxxxxxx\"");//change ZZ with country code and xxxxxxxxxxx with phone number to sms updateSerial(); mySerial.print("Last Minute Engineers | lastminuteengineers.com"); //text content updateSerial(); mySerial.write(26);

see https://lastminuteengineers.com/a6-gsm-gprs-module-arduino-tutorial/