Simple detection for LE910-NA1 modules
Fork of MTS-Cellular by
Diff: Cellular/Cellular.cpp
- Revision:
- 38:b2088faa8bfd
- Parent:
- 37:14f819beeccf
- Child:
- 41:8b9b5098696f
diff -r 14f819beeccf -r b2088faa8bfd Cellular/Cellular.cpp --- a/Cellular/Cellular.cpp Wed Jul 23 16:04:41 2014 +0000 +++ b/Cellular/Cellular.cpp Fri Jul 25 18:05:50 2014 +0000 @@ -269,10 +269,7 @@ return code; } string cmd = "AT+CMGS=\""; - //EasyIP radios do not include the + - if(type == MTSMC_H5_IP || type == MTSMC_EV3_IP || type == MTSMC_C2_IP) { - cmd.append("+"); - } + cmd.append("+"); cmd.append(phoneNumber); cmd.append("\",145"); for (int i = 0; i < 5; i++) {