mirror of
				https://github.com/KevinMidboe/TinyGSM.git
				synced 2025-10-29 18:00:18 +00:00 
			
		
		
		
	Fix diagnostics
This commit is contained in:
		@@ -54,10 +54,10 @@ const char server[] = "vsh.pp.ua";
 | 
			
		||||
const char resource[] = "/TinyGSM/logo.txt";
 | 
			
		||||
 | 
			
		||||
const int  port = 80;
 | 
			
		||||
TinyGsmClient client(myModem);
 | 
			
		||||
TinyGsmClient client(modem);
 | 
			
		||||
 | 
			
		||||
//const int  port = 443;
 | 
			
		||||
//TinyGsmClientSecure client(myModem);
 | 
			
		||||
//TinyGsmClientSecure client(modem);
 | 
			
		||||
 | 
			
		||||
void setup() {
 | 
			
		||||
  // Set console baud rate
 | 
			
		||||
@@ -121,7 +121,7 @@ void loop() {
 | 
			
		||||
  }
 | 
			
		||||
  SerialMon.println(F(" [OK]"));
 | 
			
		||||
 | 
			
		||||
  IPAddress local = myModem.localIP();
 | 
			
		||||
  IPAddress local = modem.localIP();
 | 
			
		||||
  SerialMon.print("Local IP: ");
 | 
			
		||||
  SerialMon.println(local);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user