diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 3b1be36..f2ebb55 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -22,7 +22,7 @@ with your board before submitting any issues. Main processor board: Modem: -TinyGSM version: +TinyGSM version: Code: ### Scenario, steps to reproduce diff --git a/library.json b/library.json index c30ba7c..2eadc49 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "TinyGSM", - "version": "0.10.5", + "version": "0.10.6", "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 79aeaa3..bd7c48f 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=TinyGSM -version=0.10.5 +version=0.10.6 author=Volodymyr Shymanskyy maintainer=Volodymyr Shymanskyy sentence=A small Arduino library for GPRS modules, that just works. diff --git a/src/TinyGsmCommon.h b/src/TinyGsmCommon.h index d8c0040..bfea00f 100644 --- a/src/TinyGsmCommon.h +++ b/src/TinyGsmCommon.h @@ -10,7 +10,7 @@ #define SRC_TINYGSMCOMMON_H_ // The current library version number -#define TINYGSM_VERSION "0.10.5" +#define TINYGSM_VERSION "0.10.6" #if defined(SPARK) || defined(PARTICLE) #include "Particle.h" diff --git a/src/TinyGsmTCP.tpp b/src/TinyGsmTCP.tpp index cf73b45..d61c7e3 100644 --- a/src/TinyGsmTCP.tpp +++ b/src/TinyGsmTCP.tpp @@ -133,7 +133,7 @@ class TinyGsmTCP { // Returns the combined number of characters available in the TinyGSM // fifo and the modem chips internal fifo. if (!rx.size()) { at->maintain(); } - return rx.size() + sock_available; + return static_cast(rx.size()) + sock_available; #elif defined TINY_GSM_BUFFER_READ_AND_CHECK_SIZE // Returns the combined number of characters available in the TinyGSM @@ -146,7 +146,7 @@ class TinyGsmTCP { } at->maintain(); } - return rx.size() + sock_available; + return static_cast(rx.size()) + sock_available; #else #error Modem client has been incorrectly created