We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19afe54 commit 23d929eCopy full SHA for 23d929e
libraries/WiFiS3/src/Modem.h
@@ -9,8 +9,9 @@
9
/* uncomment this will allow debug for passthrough "binary" commands */
10
#define MODEM_DEBUG_PASSTHROUGH
11
12
-#define MODEM_TIMEOUT 10000
13
-#define MAX_BUFF_SIZE 128
+#define MODEM_TIMEOUT 10000
+#define EXTENDED_MODEM_TIMEOUT 60000
14
+#define MAX_BUFF_SIZE 128
15
16
#define DO_NOT_CHECK_CMD "NO_CMD_CHECK"
17
@@ -62,6 +63,8 @@ class ModemClass {
62
63
void debug(bool e) {enable_dbg = e;}
64
#endif
65
66
+ void timeout(size_t timeout_ms) {_timeout = timeout_ms;}
67
+
68
private:
69
bool buf_read(const std::string &cmd, std::string &data_res);
70
bool delete_serial;
0 commit comments