diff --git a/src/TinyGsmClientA6.h b/src/TinyGsmClientA6.h index 3b0a9fd..d9a0cf5 100644 --- a/src/TinyGsmClientA6.h +++ b/src/TinyGsmClientA6.h @@ -38,22 +38,10 @@ enum RegStatus { REG_UNKNOWN = 4, }; -//============================================================================// -//============================================================================// -// Declaration of the TinyGsmA6 Class -//============================================================================// -//============================================================================// class TinyGsmA6 { -//============================================================================// -//============================================================================// -// The Internal A6 Client Class -//============================================================================// -//============================================================================// - - public: class GsmClient : public Client @@ -186,19 +174,6 @@ private: RxFifo rx; }; -//============================================================================// -//============================================================================// -// The A6 does not have a secure client! -//============================================================================// -//============================================================================// - - - -//============================================================================// -//============================================================================// -// The A6 Modem Functions -//============================================================================// -//============================================================================// public: diff --git a/src/TinyGsmClientBG96.h b/src/TinyGsmClientBG96.h index 8b0078d..013db9d 100644 --- a/src/TinyGsmClientBG96.h +++ b/src/TinyGsmClientBG96.h @@ -39,22 +39,10 @@ enum RegStatus { REG_UNKNOWN = 4, }; -//============================================================================// -//============================================================================// -// Declaration of the TinyGsmBG96 Class -//============================================================================// -//============================================================================// class TinyGsmBG96 { -//============================================================================// -//============================================================================// -// The Internal BG96 Client Class -//============================================================================// -//============================================================================// - - public: class GsmClient : public Client @@ -190,12 +178,6 @@ private: RxFifo rx; }; -//============================================================================// -//============================================================================// -// The BG96 Secure Client -//============================================================================// -//============================================================================// - class GsmClientSecure : public GsmClient { @@ -216,11 +198,6 @@ public: } }; -//============================================================================// -//============================================================================// -// The BG96 Modem Functions -//============================================================================// -//============================================================================// public: diff --git a/src/TinyGsmClientESP8266.h b/src/TinyGsmClientESP8266.h index 5df1ca8..56a8fc6 100644 --- a/src/TinyGsmClientESP8266.h +++ b/src/TinyGsmClientESP8266.h @@ -38,22 +38,10 @@ enum RegStatus { }; -//============================================================================// -//============================================================================// -// Declaration of the TinyGsmESP8266 Class -//============================================================================// -//============================================================================// - class TinyGsmESP8266 { - //============================================================================// - //============================================================================// - // The ESP8266 Internal Client Class - //============================================================================// - //============================================================================// - public: class GsmClient : public Client @@ -183,12 +171,6 @@ private: RxFifo rx; }; -//============================================================================// -//============================================================================// -// The Secure ESP8266 Client Class -//============================================================================// -//============================================================================// - class GsmClientSecure : public GsmClient { @@ -209,13 +191,6 @@ public: } }; - -//============================================================================// -//============================================================================// -// The ESP8266 Modem Functions -//============================================================================// -//============================================================================// - public: #ifdef GSM_DEFAULT_STREAM diff --git a/src/TinyGsmClientM590.h b/src/TinyGsmClientM590.h index b15ef72..1a76ebc 100644 --- a/src/TinyGsmClientM590.h +++ b/src/TinyGsmClientM590.h @@ -39,22 +39,9 @@ enum RegStatus { }; -//============================================================================// -//============================================================================// -// Declaration of the TinyGsmM590 Class -//============================================================================// -//============================================================================// - class TinyGsmM590 { -//============================================================================// -//============================================================================// -// The M590 Internal Client Class -//============================================================================// -//============================================================================// - - public: class GsmClient : public Client @@ -184,19 +171,6 @@ private: RxFifo rx; }; -//============================================================================// -//============================================================================// -// The M590 Has no Secure client! -//============================================================================// -//============================================================================// - - - -//============================================================================// -//============================================================================// -// The M590 Modem Functions -//============================================================================// -//============================================================================// public: diff --git a/src/TinyGsmClientSIM800.h b/src/TinyGsmClientSIM800.h index 9519a3c..9e0c3b0 100644 --- a/src/TinyGsmClientSIM800.h +++ b/src/TinyGsmClientSIM800.h @@ -45,6 +45,7 @@ enum TinyGSMDateTimeFormat { DATE_DATE = 2 }; + class TinyGsmSim800 { @@ -192,6 +193,7 @@ private: RxFifo rx; }; + class GsmClientSecure : public GsmClient { public: @@ -211,6 +213,7 @@ public: } }; + public: #ifdef GSM_DEFAULT_STREAM diff --git a/src/TinyGsmClientSIM808.h b/src/TinyGsmClientSIM808.h index fccfbcb..94d7428 100644 --- a/src/TinyGsmClientSIM808.h +++ b/src/TinyGsmClientSIM808.h @@ -12,12 +12,6 @@ #include -//============================================================================// -//============================================================================// -// Declaration and Definition of the TinyGsmSim808 Class -//============================================================================// -//============================================================================// - class TinyGsmSim808: public TinyGsmSim800 { diff --git a/src/TinyGsmClientUBLOX.h b/src/TinyGsmClientUBLOX.h index 9055677..21307f1 100644 --- a/src/TinyGsmClientUBLOX.h +++ b/src/TinyGsmClientUBLOX.h @@ -39,22 +39,10 @@ enum RegStatus { REG_UNKNOWN = 4, }; -//============================================================================// -//============================================================================// -// Declaration of the TinyGsmUBLOX Class -//============================================================================// -//============================================================================// class TinyGsmUBLOX { -//============================================================================// -//============================================================================// -// The UBLOX Internal Client Class -//============================================================================// -//============================================================================// - - public: class GsmClient : public Client @@ -188,12 +176,6 @@ private: RxFifo rx; }; -//============================================================================// -//============================================================================// -// The Secure UBLOX Client Class -//============================================================================// -//============================================================================// - class GsmClientSecure : public GsmClient { @@ -215,11 +197,6 @@ public: } }; -//============================================================================// -//============================================================================// -// The UBLOX Modem Functions -//============================================================================// -//============================================================================// public: diff --git a/src/TinyGsmClientXBee.h b/src/TinyGsmClientXBee.h index ca9ada9..73861d0 100644 --- a/src/TinyGsmClientXBee.h +++ b/src/TinyGsmClientXBee.h @@ -44,22 +44,10 @@ enum XBeeType { XBEE3_LTENB = 3, // Digi XBee3™ Cellular NB-IoT -- HS unknown to SRGD }; -//============================================================================// -//============================================================================// -// Declaration of the TinyGsmXBee Class -//============================================================================// -//============================================================================// class TinyGsmXBee { -//============================================================================// -//============================================================================// -// The XBee Internal Client Class -//============================================================================// -//============================================================================// - - public: class GsmClient : public Client @@ -179,12 +167,6 @@ private: bool sock_connected; }; -//============================================================================// -//============================================================================// -// The Secure XBee Client Class -//============================================================================// -//============================================================================// - class GsmClientSecure : public GsmClient { @@ -222,12 +204,6 @@ public: }; -//============================================================================// -//============================================================================// -// The XBee Modem Functions -//============================================================================// -//============================================================================// - public: #ifdef GSM_DEFAULT_STREAM