Browse Source

Fix debug print

Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
v_master
Sara Damiano 5 years ago
parent
commit
30f09b2429
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/TinyGsmClientSaraR4.h

+ 1
- 2
src/TinyGsmClientSaraR4.h View File

@ -636,8 +636,7 @@ protected:
// NOT supported on SARA-R404M / SARA-R410M-01B // NOT supported on SARA-R404M / SARA-R410M-01B
if (supportsAsyncSockets) { if (supportsAsyncSockets) {
DBG("### Opening socket asynchronously! Socket cannot be used until " DBG("### Opening socket asynchronously! Socket cannot be used until "
"arrival of +UUSOCO: ",
mux);
"the URC '+UUSOCO' appears.");
sendAT(GF("+USOCO="), *mux, ",\"", host, "\",", port, ",1"); sendAT(GF("+USOCO="), *mux, ",\"", host, "\",", port, ",1");
if (waitResponse(timeout_ms, GF(GSM_NL "+UUSOCO: ")) == 1) { if (waitResponse(timeout_ms, GF(GSM_NL "+UUSOCO: ")) == 1) {
stream.readStringUntil(',').toInt(); // skip repeated mux stream.readStringUntil(',').toInt(); // skip repeated mux


Loading…
Cancel
Save