We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 34c49f4 + 740c109 commit 6883351Copy full SHA for 6883351
src/ArduinoCellular.cpp
@@ -137,6 +137,8 @@ Time ArduinoCellular::getCellularTime(){
137
138
139
void ArduinoCellular::sendSMS(String number, String message){
140
+ modem.sendAT("+CMGF=1");
141
+ modem.waitResponse(1000);
142
modem.sendAT(GF("+CMGS=\""), number, GF("\""));
143
if (modem.waitResponse(GF(">")) != 1) { }
144
modem.stream->print(message); // Actually send the message
0 commit comments