mirror of
				https://github.com/KevinMidboe/TinyGSM.git
				synced 2025-10-29 18:00:18 +00:00 
			
		
		
		
	check ip in connection with correct local ip fxn
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
		| @@ -341,21 +341,7 @@ TINY_GSM_MODEM_WAIT_FOR_NETWORK() | |||||||
|     return true; |     return true; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   // TINY_GSM_MODEM_GET_GPRS_IP_CONNECTED() |   TINY_GSM_MODEM_GET_GPRS_IP_CONNECTED() | ||||||
|   bool isGprsConnected() |  | ||||||
|   { |  | ||||||
|     sendAT(GF("+CGATT?")); |  | ||||||
|     if (waitResponse(GF(GSM_NL "+CGATT:")) != 1) |  | ||||||
|     { |  | ||||||
|       return false; |  | ||||||
|     } |  | ||||||
|     int res = stream.readStringUntil('\n').toInt(); |  | ||||||
|     waitResponse(); |  | ||||||
|     if (res != 1) |  | ||||||
|       return false; |  | ||||||
|  |  | ||||||
|     return true; |  | ||||||
|   } |  | ||||||
|  |  | ||||||
|   /* |   /* | ||||||
|    * IP Address functions |    * IP Address functions | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user