bump timeout to 30s to deal with modem slowness.

This commit is contained in:
Brian Harrison
2026-03-31 12:12:36 -04:00
parent de02f9cccf
commit 8074bf0fee
2 changed files with 5 additions and 4 deletions

View File

@@ -154,7 +154,7 @@ class MiniMateProtocol:
self._send(POLL_PROBE)
probe_rsp = self._recv_one(
expected_sub=_expected_rsp_sub(SUB_POLL),
timeout=POLL_RECV_TIMEOUT,
timeout=self._recv_timeout,
)
log.debug(
"startup: POLL probe response page_key=0x%04X", probe_rsp.page_key
@@ -164,7 +164,7 @@ class MiniMateProtocol:
self._send(POLL_DATA)
data_rsp = self._recv_one(
expected_sub=_expected_rsp_sub(SUB_POLL),
timeout=POLL_RECV_TIMEOUT,
timeout=self._recv_timeout,
)
log.debug("startup: POLL data received, %d bytes", len(data_rsp.data))
return data_rsp