If no saved IP, then can say we're not connected w/o command mode
This commit is contained in:
		| @@ -203,6 +203,9 @@ public: | |||||||
|   virtual uint8_t connected() { |   virtual uint8_t connected() { | ||||||
|     if (available()) { |     if (available()) { | ||||||
|       return true; |       return true; | ||||||
|  |     // if we never got an IP, it can't be connected | ||||||
|  |     } else if (at->savedIP == IPAddress(0, 0, 0, 0)){ | ||||||
|  |       return false; | ||||||
|     } |     } | ||||||
|     return sock_connected; |     return sock_connected; | ||||||
|     // NOTE:  We dont't check or return |     // NOTE:  We dont't check or return | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user