Skip to content

Commit e3fcc23

Browse files
committed
increase at detection timeout
Signed-off-by: Maximilian Deubel <[email protected]>
1 parent c6e95a1 commit e3fcc23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nrfcredstore/command_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def detect_shell_mode(self):
9797
for cmd, shell_mode in [("at AT+CGSN", True), ("AT+CGSN", False)]:
9898
for _ in range(3):
9999
self.write_raw(cmd)
100-
result, output = self.comms.expect_response("OK", "ERROR", "", suppress_errors=True, timeout=1)
100+
result, output = self.comms.expect_response("OK", "ERROR", "", suppress_errors=True, timeout=2)
101101
if result and len(re.findall("[0-9]{15}", output)) > 0:
102102
self.set_shell_mode(shell_mode)
103103
return

0 commit comments

Comments
 (0)