Removed default stream
This commit is contained in:
@@ -177,11 +177,7 @@ private:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
#ifdef GSM_DEFAULT_STREAM
|
|
||||||
TinyGsmA6(Stream& stream = GSM_DEFAULT_STREAM)
|
|
||||||
#else
|
|
||||||
TinyGsmA6(Stream& stream)
|
TinyGsmA6(Stream& stream)
|
||||||
#endif
|
|
||||||
: TinyGsmModem(stream), stream(stream)
|
: TinyGsmModem(stream), stream(stream)
|
||||||
{
|
{
|
||||||
memset(sockets, 0, sizeof(sockets));
|
memset(sockets, 0, sizeof(sockets));
|
||||||
|
@@ -201,11 +201,7 @@ public:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
#ifdef GSM_DEFAULT_STREAM
|
|
||||||
TinyGsmBG96(Stream& stream = GSM_DEFAULT_STREAM)
|
|
||||||
#else
|
|
||||||
TinyGsmBG96(Stream& stream)
|
TinyGsmBG96(Stream& stream)
|
||||||
#endif
|
|
||||||
: TinyGsmModem(stream), stream(stream)
|
: TinyGsmModem(stream), stream(stream)
|
||||||
{
|
{
|
||||||
memset(sockets, 0, sizeof(sockets));
|
memset(sockets, 0, sizeof(sockets));
|
||||||
|
@@ -193,11 +193,7 @@ public:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
#ifdef GSM_DEFAULT_STREAM
|
|
||||||
TinyGsmESP8266(Stream& stream = GSM_DEFAULT_STREAM)
|
|
||||||
#else
|
|
||||||
TinyGsmESP8266(Stream& stream)
|
TinyGsmESP8266(Stream& stream)
|
||||||
#endif
|
|
||||||
: TinyGsmModem(stream), stream(stream)
|
: TinyGsmModem(stream), stream(stream)
|
||||||
{
|
{
|
||||||
memset(sockets, 0, sizeof(sockets));
|
memset(sockets, 0, sizeof(sockets));
|
||||||
|
@@ -174,11 +174,7 @@ private:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
#ifdef GSM_DEFAULT_STREAM
|
|
||||||
TinyGsmM590(Stream& stream = GSM_DEFAULT_STREAM)
|
|
||||||
#else
|
|
||||||
TinyGsmM590(Stream& stream)
|
TinyGsmM590(Stream& stream)
|
||||||
#endif
|
|
||||||
: TinyGsmModem(stream), stream(stream)
|
: TinyGsmModem(stream), stream(stream)
|
||||||
{
|
{
|
||||||
memset(sockets, 0, sizeof(sockets));
|
memset(sockets, 0, sizeof(sockets));
|
||||||
|
@@ -181,11 +181,7 @@ private:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
#ifdef GSM_DEFAULT_STREAM
|
|
||||||
TinyGsmM95(Stream& stream = GSM_DEFAULT_STREAM)
|
|
||||||
#else
|
|
||||||
TinyGsmM95(Stream& stream)
|
TinyGsmM95(Stream& stream)
|
||||||
#endif
|
|
||||||
: TinyGsmModem(stream), stream(stream)
|
: TinyGsmModem(stream), stream(stream)
|
||||||
{
|
{
|
||||||
memset(sockets, 0, sizeof(sockets));
|
memset(sockets, 0, sizeof(sockets));
|
||||||
|
@@ -208,11 +208,7 @@ public:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
#ifdef GSM_DEFAULT_STREAM
|
|
||||||
TinyGsmMC60(Stream& stream = GSM_DEFAULT_STREAM)
|
|
||||||
#else
|
|
||||||
TinyGsmMC60(Stream& stream)
|
TinyGsmMC60(Stream& stream)
|
||||||
#endif
|
|
||||||
: TinyGsmModem(stream), stream(stream)
|
: TinyGsmModem(stream), stream(stream)
|
||||||
{
|
{
|
||||||
memset(sockets, 0, sizeof(sockets));
|
memset(sockets, 0, sizeof(sockets));
|
||||||
|
@@ -223,11 +223,7 @@ public:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
#ifdef GSM_DEFAULT_STREAM
|
|
||||||
TinyGsmSim800(Stream& stream = GSM_DEFAULT_STREAM)
|
|
||||||
#else
|
|
||||||
TinyGsmSim800(Stream& stream)
|
TinyGsmSim800(Stream& stream)
|
||||||
#endif
|
|
||||||
: TinyGsmModem(stream), stream(stream)
|
: TinyGsmModem(stream), stream(stream)
|
||||||
{
|
{
|
||||||
memset(sockets, 0, sizeof(sockets));
|
memset(sockets, 0, sizeof(sockets));
|
||||||
|
@@ -200,11 +200,7 @@ public:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
#ifdef GSM_DEFAULT_STREAM
|
|
||||||
TinyGsmUBLOX(Stream& stream = GSM_DEFAULT_STREAM)
|
|
||||||
#else
|
|
||||||
TinyGsmUBLOX(Stream& stream)
|
TinyGsmUBLOX(Stream& stream)
|
||||||
#endif
|
|
||||||
: TinyGsmModem(stream), stream(stream)
|
: TinyGsmModem(stream), stream(stream)
|
||||||
{
|
{
|
||||||
memset(sockets, 0, sizeof(sockets));
|
memset(sockets, 0, sizeof(sockets));
|
||||||
|
@@ -206,11 +206,7 @@ public:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
#ifdef GSM_DEFAULT_STREAM
|
|
||||||
TinyGsmXBee(Stream& stream = GSM_DEFAULT_STREAM)
|
|
||||||
#else
|
|
||||||
TinyGsmXBee(Stream& stream)
|
TinyGsmXBee(Stream& stream)
|
||||||
#endif
|
|
||||||
: TinyGsmModem(stream), stream(stream)
|
: TinyGsmModem(stream), stream(stream)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
@@ -203,19 +203,7 @@ class TinyGsmModem
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
class GsmClient : public Client
|
|
||||||
{
|
|
||||||
friend class TinyGsmModem;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
|
||||||
|
|
||||||
#ifdef GSM_DEFAULT_STREAM
|
|
||||||
TinyGsmModem(Stream& stream = GSM_DEFAULT_STREAM)
|
|
||||||
#else
|
|
||||||
TinyGsmModem(Stream& stream)
|
TinyGsmModem(Stream& stream)
|
||||||
#endif
|
|
||||||
: stream(stream)
|
: stream(stream)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user