mirror of
				https://github.com/KevinMidboe/TinyGSM.git
				synced 2025-10-29 18:00:18 +00:00 
			
		
		
		
	Update diagnostics sketch
This commit is contained in:
		| @@ -47,8 +47,9 @@ StreamDebugger debugger(SerialAT, SerialMon); | |||||||
| TinyGsm modem(debugger); | TinyGsm modem(debugger); | ||||||
| TinyGsmClient client(modem); | TinyGsmClient client(modem); | ||||||
|  |  | ||||||
| const char server[] = "cdn.rawgit.com"; | const char server[] = "vsh.pp.ua"; | ||||||
| const char resource[] = "/vshymanskyy/tinygsm/master/extras/logo.txt"; | const char resource[] = "/TinyGSM/logo.txt"; | ||||||
|  | const int  port = 80; | ||||||
|  |  | ||||||
| void setup() { | void setup() { | ||||||
|   // Set console baud rate |   // Set console baud rate | ||||||
| @@ -108,7 +109,7 @@ void loop() { | |||||||
|  |  | ||||||
|   SerialMon.print("Connecting to "); |   SerialMon.print("Connecting to "); | ||||||
|   SerialMon.print(server); |   SerialMon.print(server); | ||||||
|   if (!client.connect(server, 80)) { |   if (!client.connect(server, port)) { | ||||||
|     SerialMon.println(" fail"); |     SerialMon.println(" fail"); | ||||||
|     delay(10000); |     delay(10000); | ||||||
|     return; |     return; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user