SMS Encoding set to GSM

This commit is contained in:
Volodymyr Shymanskyy
2017-09-02 17:58:46 +03:00
parent 454eae4876
commit 124b210927

View File

@@ -290,6 +290,8 @@ public:
}
bool sendSMS(const String& number, const String& text) {
sendAT(GF("+CSCS=\"gsm\""));
waitResponse();
sendAT(GF("+CMGF=1"));
waitResponse();
sendAT(GF("+CMGS=\""), number, GF("\""));