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.
1 parent 67270bf commit 740c109Copy full SHA for 740c109
src/ArduinoCellular.cpp
@@ -127,6 +127,8 @@ Time ArduinoCellular::getCellularTime(){
127
128
129
void ArduinoCellular::sendSMS(String number, String message){
130
+ modem.sendAT("+CMGF=1");
131
+ modem.waitResponse(1000);
132
modem.sendAT(GF("+CMGS=\""), number, GF("\""));
133
if (modem.waitResponse(GF(">")) != 1) { }
134
modem.stream->print(message); // Actually send the message
0 commit comments