From eeffd92674fb9efcebc20d7f58f10f2c3f0c6472 Mon Sep 17 00:00:00 2001 From: Sara Damiano Date: Mon, 13 May 2019 18:01:40 -0400 Subject: [PATCH] Another xbee function to check if we have ip saved --- src/TinyGsmClientXBee.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/TinyGsmClientXBee.h b/src/TinyGsmClientXBee.h index 9bddc5b..4d9efa8 100644 --- a/src/TinyGsmClientXBee.h +++ b/src/TinyGsmClientXBee.h @@ -1079,6 +1079,11 @@ finish: return intRes; } + bool gotIPforSavedHost() { + if (savedHost != "" && savedIP != IPAddress(0,0,0,0)) return true; + else return false; + } + public: Stream& stream;