Skip to content

Commit

Permalink
[u-blox][gen2] COPS_TIMEOUT not being respected at 3 minutes, increas…
Browse files Browse the repository at this point in the history
…ed to 5 minutes
  • Loading branch information
technobly committed Feb 17, 2021
1 parent 55f34b9 commit bba6167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hal/src/electron/modem/mdm_hal.cpp
Expand Up @@ -84,7 +84,7 @@ std::recursive_mutex mdm_mutex;
#define CGDCONT_TIMEOUT ( 10 * 1000)
#define CIMI_TIMEOUT ( 10 * 1000) /* Should be immediate, but have observed 3 seconds occassionally on u-blox and rarely longer times */
#define CMGS_TIMEOUT (150 * 1000) /* 180s for R4 (set to 150s to match previous implementation) */
#define COPS_TIMEOUT (180 * 1000)
#define COPS_TIMEOUT (300 * 1000) /* Should be 180s, but there seems to be a bug where this timeout of 3 minutes is not being respected by u-blox modems. Setting to 5 for now. */
#define CPWROFF_TIMEOUT ( 40 * 1000)
#define CSQ_TIMEOUT ( 10 * 1000)
#define CREG_TIMEOUT ( 60 * 1000)
Expand Down

0 comments on commit bba6167

Please sign in to comment.