diff --git a/extras/doc/SIM800 AT Commands v1.10.pdf b/extras/doc/SIM800 AT Commands v1.10.pdf deleted file mode 100644 index 0ec8983..0000000 Binary files a/extras/doc/SIM800 AT Commands v1.10.pdf and /dev/null differ diff --git a/extras/doc/SIM800 Hardware Design V1.08.pdf b/extras/doc/SIM800 Hardware Design V1.08.pdf deleted file mode 100644 index fed3779..0000000 Binary files a/extras/doc/SIM800 Hardware Design V1.08.pdf and /dev/null differ diff --git a/extras/doc/SIM800 Series Software Upgrade Application Note V1.00.pdf b/extras/doc/SIM800 Series Software Upgrade Application Note V1.00.pdf deleted file mode 100644 index e3b3460..0000000 Binary files a/extras/doc/SIM800 Series Software Upgrade Application Note V1.00.pdf and /dev/null differ diff --git a/extras/doc/SIM800+Series Bluetooth Application Note V1.04.pdf b/extras/doc/SIM800+Series Bluetooth Application Note V1.04.pdf deleted file mode 100644 index b0ed6c6..0000000 Binary files a/extras/doc/SIM800+Series Bluetooth Application Note V1.04.pdf and /dev/null differ diff --git a/extras/doc/SIM800+Series Email Application Note V1.00.pdf b/extras/doc/SIM800+Series Email Application Note V1.00.pdf deleted file mode 100644 index 3664f5e..0000000 Binary files a/extras/doc/SIM800+Series Email Application Note V1.00.pdf and /dev/null differ diff --git a/src/TinyGsmClientUBLOX.h b/src/TinyGsmClientUBLOX.h index 48556d5..e34504e 100644 --- a/src/TinyGsmClientUBLOX.h +++ b/src/TinyGsmClientUBLOX.h @@ -228,7 +228,25 @@ public: } String getModemName() { - return "u-blox Cellular Modem"; + sendAT(GF("CGMI")); + String res1; + if (waitResponse(1000L, res1) != 1) { + return "u-blox Cellular Modem"; + } + res1.replace(GSM_NL "OK" GSM_NL, ""); + res1.replace(GSM_NL, " "); + res1.trim(); + + sendAT(GF("GMM")); + String res2; + if (waitResponse(1000L, res1) != 1) { + return "u-blox Cellular Modem"; + } + res2.replace(GSM_NL "OK" GSM_NL, ""); + res2.replace(GSM_NL, " "); + res2.trim(); + + return res1 + res2; } void setBaud(unsigned long baud) {