Added debug print with compiled client file name

Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
Sara Damiano
2020-03-08 10:56:57 -04:00
parent 0efe729666
commit 564846c872
18 changed files with 18 additions and 4 deletions

View File

@@ -130,6 +130,7 @@ class TinyGsmA6 : public TinyGsmModem<TinyGsmA6>,
protected:
bool initImpl(const char* pin = NULL) {
DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION);
DBG(GF("### TinyGSM Compiled Module: TinyGsmClientA6"));
if (!testAT()) { return false; }

View File

@@ -161,6 +161,7 @@ class TinyGsmBG96 : public TinyGsmModem<TinyGsmBG96>,
protected:
bool initImpl(const char* pin = NULL) {
DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION);
DBG(GF("### TinyGSM Compiled Module: TinyGsmClientBG96"));
if (!testAT()) { return false; }

View File

@@ -139,6 +139,7 @@ class TinyGsmESP8266 : public TinyGsmModem<TinyGsmESP8266>,
protected:
bool initImpl(const char* pin = NULL) {
DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION);
DBG(GF("### TinyGSM Compiled Module: TinyGsmClientESP8266"));
if (!testAT()) { return false; }
if (pin && strlen(pin) > 0) {

View File

@@ -119,6 +119,7 @@ class TinyGsmM590 : public TinyGsmModem<TinyGsmM590>,
protected:
bool initImpl(const char* pin = NULL) {
DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION);
DBG(GF("### TinyGSM Compiled Module: TinyGsmClientM590"));
if (!testAT()) { return false; }

View File

@@ -158,6 +158,7 @@ class TinyGsmM95 : public TinyGsmModem<TinyGsmM95>,
protected:
bool initImpl(const char* pin = NULL) {
DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION);
DBG(GF("### TinyGSM Compiled Module: TinyGsmClientM95"));
if (!testAT()) { return false; }

View File

@@ -157,6 +157,7 @@ class TinyGsmMC60 : public TinyGsmModem<TinyGsmMC60>,
protected:
bool initImpl(const char* pin = NULL) {
DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION);
DBG(GF("### TinyGSM Compiled Module: TinyGsmClientMC60"));
if (!testAT()) { return false; }

View File

@@ -155,6 +155,7 @@ class TinyGsmSim5360 : public TinyGsmModem<TinyGsmSim5360>,
protected:
bool initImpl(const char* pin = NULL) {
DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION);
DBG(GF("### TinyGSM Compiled Module: TinyGsmClientSIM5360"));
if (!testAT()) { return false; }

View File

@@ -153,6 +153,7 @@ class TinyGsmSim7000 : public TinyGsmModem<TinyGsmSim7000>,
protected:
bool initImpl(const char* pin = NULL) {
DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION);
DBG(GF("### TinyGSM Compiled Module: TinyGsmClientSIM7000"));
if (!testAT()) { return false; }

View File

@@ -159,6 +159,7 @@ class TinyGsmSim7600 : public TinyGsmModem<TinyGsmSim7600>,
protected:
bool initImpl(const char* pin = NULL) {
DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION);
DBG(GF("### TinyGSM Compiled Module: TinyGsmClientSIM7600"));
if (!testAT()) { return false; }

View File

@@ -155,6 +155,7 @@ class TinyGsmSim800 : public TinyGsmModem<TinyGsmSim800>,
protected:
bool initImpl(const char* pin = NULL) {
DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION);
DBG(GF("### TinyGSM Compiled Module: TinyGsmClientSIM800"));
if (!testAT()) { return false; }

View File

@@ -218,6 +218,7 @@ class TinyGsmSaraR4 : public TinyGsmModem<TinyGsmSaraR4>,
protected:
bool initImpl(const char* pin = NULL) {
DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION);
DBG(GF("### TinyGSM Compiled Module: TinyGsmClientSaraR4"));
if (!testAT()) { return false; }

View File

@@ -192,6 +192,7 @@ class TinyGsmSequansMonarch
protected:
bool initImpl(const char* pin = NULL) {
DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION);
DBG(GF("### TinyGSM Compiled Module: TinyGsmClientSequansMonarch"));
if (!testAT()) { return false; }

View File

@@ -174,6 +174,7 @@ class TinyGsmUBLOX : public TinyGsmModem<TinyGsmUBLOX>,
protected:
bool initImpl(const char* pin = NULL) {
DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION);
DBG(GF("### TinyGSM Compiled Module: TinyGsmClientUBLOX"));
if (!testAT()) { return false; }

View File

@@ -322,6 +322,7 @@ class TinyGsmXBee : public TinyGsmModem<TinyGsmXBee>,
bool initImpl(const char* pin = NULL) {
DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION);
DBG(GF("### TinyGSM Compiled Module: TinyGsmClientXBee"));
if (resetPin >= 0) {
pinMode(resetPin, OUTPUT);

View File

@@ -10,7 +10,7 @@
#define SRC_TINYGSMCOMMON_H_
// The current library version number
#define TINYGSM_VERSION "0.10.0"
#define TINYGSM_VERSION "0.10.1"
#if defined(SPARK) || defined(PARTICLE)
#include "Particle.h"