SMS Encoding set to GSM
This commit is contained in:
@@ -290,6 +290,8 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool sendSMS(const String& number, const String& text) {
|
bool sendSMS(const String& number, const String& text) {
|
||||||
|
sendAT(GF("+CSCS=\"gsm\""));
|
||||||
|
waitResponse();
|
||||||
sendAT(GF("+CMGF=1"));
|
sendAT(GF("+CMGF=1"));
|
||||||
waitResponse();
|
waitResponse();
|
||||||
sendAT(GF("+CMGS=\""), number, GF("\""));
|
sendAT(GF("+CMGS=\""), number, GF("\""));
|
||||||
|
Reference in New Issue
Block a user