Add (unused) argument for XBee modem get connected
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
@@ -1129,7 +1129,7 @@ class TinyGsmXBee : public TinyGsmModem<TinyGsmXBee>,
|
|||||||
// after data has been sent on the socket. If it returns 0xFF the socket may
|
// after data has been sent on the socket. If it returns 0xFF the socket may
|
||||||
// really be open, but no data has yet been sent. We return this unknown
|
// really be open, but no data has yet been sent. We return this unknown
|
||||||
// value as true so there's a possibility it's wrong.
|
// value as true so there's a possibility it's wrong.
|
||||||
bool modemGetConnected() {
|
bool modemGetConnected(uint8_t) {
|
||||||
// If the IP address is 0, it's not valid so we can't be connected
|
// If the IP address is 0, it's not valid so we can't be connected
|
||||||
if (savedIP == IPAddress(0, 0, 0, 0)) { return false; }
|
if (savedIP == IPAddress(0, 0, 0, 0)) { return false; }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user