Added debug print with compiled client file name
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
@@ -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; }
|
||||
|
||||
|
@@ -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) {
|
||||
|
@@ -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; }
|
||||
|
||||
|
@@ -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; }
|
||||
|
||||
|
@@ -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; }
|
||||
|
||||
|
@@ -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; }
|
||||
|
||||
|
@@ -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; }
|
||||
|
||||
|
@@ -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; }
|
||||
|
||||
|
@@ -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; }
|
||||
|
||||
|
@@ -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; }
|
||||
|
||||
|
@@ -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; }
|
||||
|
||||
|
@@ -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; }
|
||||
|
||||
|
@@ -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);
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user