Quick close on SIM800

This commit is contained in:
Sara Damiano
2019-01-28 16:31:56 -05:00
parent 831171c15c
commit 80f77495f1
2 changed files with 1 additions and 1 deletions

View File

@@ -107,7 +107,7 @@ public:
rx.clear();
at->maintain();
}
at->sendAT(GF("+CIPCLOSE="), mux);
at->sendAT(GF("+CIPCLOSE="), mux, GF(",1")); // Quick close
sock_connected = false;
at->waitResponse();
}