summaryrefslogtreecommitdiff
path: root/fw/esp32/components/eos/include/at_cmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'fw/esp32/components/eos/include/at_cmd.h')
-rw-r--r--fw/esp32/components/eos/include/at_cmd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fw/esp32/components/eos/include/at_cmd.h b/fw/esp32/components/eos/include/at_cmd.h
index 2fdd159..2d0813e 100644
--- a/fw/esp32/components/eos/include/at_cmd.h
+++ b/fw/esp32/components/eos/include/at_cmd.h
@@ -5,7 +5,7 @@
#define AT_SIZE_NMATCH 4
#define AT_SIZE_PATTERN 64
-#define AT_SIZE_URC_LIST 16
+#define AT_SIZE_URC_LIST 32
typedef void (*at_urc_cb_t) (char *, regmatch_t[]);
@@ -15,3 +15,4 @@ int at_urc_insert(char *pattern, at_urc_cb_t cb, int flags);
int at_urc_delete(char *pattern);
void at_cmd(char *cmd);
int at_expect(char *str_ok, char *str_err, uint32_t timeout);
+int at_expect_match(char *str_ok, char *str_err, char **buf, regmatch_t match[], size_t match_size, int flags, uint32_t timeout);