From fa5ca6e67ceea821c931cf131776a0d9951e194f Mon Sep 17 00:00:00 2001 From: Sara Damiano Date: Thu, 23 May 2019 15:59:59 -0400 Subject: [PATCH] Version bump and debug print --- library.json | 2 +- library.properties | 2 +- src/TinyGsmClientSIM800.h | 1 + src/TinyGsmClientSequansMonarch.h | 4 ++-- src/TinyGsmCommon.h | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/library.json b/library.json index 78289ec..8156329 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "TinyGSM", - "version": "0.7.4", + "version": "0.7.5", "description": "A small Arduino library for GPRS modules, that just works. Includes examples for Blynk, MQTT, File Download, and Web Client. Supports many GSM, LTE, and WiFi modules with AT command interfaces.", "keywords": "GSM, AT commands, AT, SIM800, SIM900, A6, A7, M590, ESP8266, SIM7000, SIM800A, SIM800C, SIM800L, SIM800H, SIM808, SIM868, SIM900A, SIM900D, SIM908, SIM968, M95, MC60, MC60E, BG96, ublox, Quectel, SIMCOM, AI Thinker, LTE, LTE-M", "authors": diff --git a/library.properties b/library.properties index 28c2c75..3180b11 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=TinyGSM -version=0.7.4 +version=0.7.5 author=Volodymyr Shymanskyy maintainer=Volodymyr Shymanskyy sentence=A small Arduino library for GPRS modules, that just works. diff --git a/src/TinyGsmClientSIM800.h b/src/TinyGsmClientSIM800.h index 3f38587..6325fcf 100644 --- a/src/TinyGsmClientSIM800.h +++ b/src/TinyGsmClientSIM800.h @@ -802,6 +802,7 @@ protected: result = stream.readStringUntil('\n').toInt(); waitResponse(); } + DBG("### Available:", result, "on", mux); if (!result) { sockets[mux]->sock_connected = modemGetConnected(mux); } diff --git a/src/TinyGsmClientSequansMonarch.h b/src/TinyGsmClientSequansMonarch.h index ad79062..7277ca4 100644 --- a/src/TinyGsmClientSequansMonarch.h +++ b/src/TinyGsmClientSequansMonarch.h @@ -624,7 +624,7 @@ protected: sockets[mux % TINY_GSM_MUX_COUNT]->sock_available--; // ^^ One less character available after moving from modem's FIFO to our FIFO } - // DBG("### Read:", len, "from", mux); + DBG("### Read:", len, "from", mux); waitResponse(); // sockets[mux % TINY_GSM_MUX_COUNT]->sock_available = modemGetAvailable(mux); return len; @@ -640,7 +640,7 @@ protected: result = stream.readStringUntil(',').toInt(); // keep data not yet read waitResponse(); } - // DBG("### Available:", result, "on", mux); + DBG("### Available:", result, "on", mux); return result; } diff --git a/src/TinyGsmCommon.h b/src/TinyGsmCommon.h index 5ddefe6..68024ac 100644 --- a/src/TinyGsmCommon.h +++ b/src/TinyGsmCommon.h @@ -10,7 +10,7 @@ #define TinyGsmCommon_h // The current library version number -#define TINYGSM_VERSION "0.7.4" +#define TINYGSM_VERSION "0.7.5" #if defined(SPARK) || defined(PARTICLE) #include "Particle.h"