From 090e0163c5b11d760bc64cf34c482a388eda83e5 Mon Sep 17 00:00:00 2001 From: Sara Damiano Date: Wed, 15 May 2019 16:47:07 -0400 Subject: [PATCH] Name print --- src/TinyGsmClientUBLOX.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/TinyGsmClientUBLOX.h b/src/TinyGsmClientUBLOX.h index 63caa35..ff29ae7 100644 --- a/src/TinyGsmClientUBLOX.h +++ b/src/TinyGsmClientUBLOX.h @@ -279,6 +279,7 @@ public: String name = getModemName(); DBG(GF("### Modem:"), name); if (name.startsWith("u-blox SARA-R4") or name.startsWith("u-blox SARA-N4")) { + DBG(GF("### This is an LTE-M modem!"), name); isCatM = true; } else if (name.startsWith("u-blox SARA-N2")) { @@ -833,7 +834,7 @@ protected: } streamSkipUntil(','); // Skip mux int sent = stream.readStringUntil('\n').toInt(); - waitResponse(); + waitResponse(); // sends back OK after the confirmation of number sent maintain(); // look for a very quick response from the remote return sent; }