Browse Source

SMS Encoding set to GSM

v_master
Volodymyr Shymanskyy 7 years ago
parent
commit
124b210927
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      TinyGsmClientM590.h

+ 2
- 0
TinyGsmClientM590.h View File

@ -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("\""));


Loading…
Cancel
Save