diff --git a/adafruit_espatcontrol/adafruit_espatcontrol.py b/adafruit_espatcontrol/adafruit_espatcontrol.py index 42b4389..768d0f9 100644 --- a/adafruit_espatcontrol/adafruit_espatcontrol.py +++ b/adafruit_espatcontrol/adafruit_espatcontrol.py @@ -193,7 +193,7 @@ def socket_connect(self, conntype, remote, remote_port, *, keepalive=10, retries + "," + str(keepalive) ) - replies = self.at_response(cmd, timeout=3, retries=retries).split(b"\r\n") + replies = self.at_response(cmd, timeout=10, retries=retries).split(b"\r\n") for reply in replies: if reply == b"CONNECT" and self.status == self.STATUS_SOCKETOPEN: return True