Version bump. Also print version in init for debugging

This commit is contained in:
Sara Damiano
2019-03-19 10:39:57 -04:00
parent 50d7fb4b6b
commit 19c377b68a
13 changed files with 16 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "TinyGSM",
"version": "0.6.0",
"version": "0.6.1",
"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":

View File

@@ -1,5 +1,5 @@
name=TinyGSM
version=0.6.0
version=0.6.1
author=Volodymyr Shymanskyy
maintainer=Volodymyr Shymanskyy
sentence=A small Arduino library for GPRS modules, that just works.

View File

@@ -184,6 +184,7 @@ public:
*/
bool init(const char* pin = NULL) {
DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION);
if (!testAT()) {
return false;
}

View File

@@ -220,6 +220,7 @@ public:
*/
bool init(const char* pin = NULL) {
DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION);
if (!testAT()) {
return false;
}

View File

@@ -201,6 +201,7 @@ public:
*/
bool init(const char* pin = NULL) {
DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION);
if (!testAT()) {
return false;
}

View File

@@ -181,6 +181,7 @@ public:
*/
bool init(const char* pin = NULL) {
DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION);
if (!testAT()) {
return false;
}

View File

@@ -220,6 +220,7 @@ public:
*/
bool init(const char* pin = NULL) {
DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION);
if (!testAT()) {
return false;
}

View File

@@ -224,6 +224,7 @@ public:
*/
bool init(const char* pin = NULL) {
DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION);
if (!testAT()) {
return false;
}

View File

@@ -246,6 +246,7 @@ public:
*/
bool init(const char* pin = NULL) {
DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION);
if (!testAT()) {
return false;
}

View File

@@ -241,6 +241,7 @@ public:
*/
bool init(const char* pin = NULL) {
DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION);
if (!testAT()) {
return false;
}

View File

@@ -251,6 +251,7 @@ public:
*/
bool init(const char* pin = NULL) {
DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION);
if (!testAT()) {
return false;
}

View File

@@ -281,6 +281,7 @@ public:
*/
bool init(const char* pin = NULL) {
DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION);
if (resetPin >= 0) {
pinMode(resetPin, OUTPUT);
@@ -457,7 +458,7 @@ public:
exitCommand();
return true;
return init();
}
void setupPinSleep(bool maintainAssociation = false) {

View File

@@ -9,6 +9,9 @@
#ifndef TinyGsmCommon_h
#define TinyGsmCommon_h
// The current library version number
#define TINYGSM_VERSION "0.6.1"
#if defined(SPARK) || defined(PARTICLE)
#include "Particle.h"
#elif defined(ARDUINO)