From fd47dd4beac1fe69fa044630e764012a0195183d Mon Sep 17 00:00:00 2001 From: David Cermak Date: Tue, 30 Mar 2021 16:00:46 +0200 Subject: [PATCH] Examples/PPPoS: Fix pppos SMS send potential timeout in prompt waiting --- examples/protocols/pppos_client/main/pppos_client_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/protocols/pppos_client/main/pppos_client_main.c b/examples/protocols/pppos_client/main/pppos_client_main.c index 2602299e25..700bc77b34 100644 --- a/examples/protocols/pppos_client/main/pppos_client_main.c +++ b/examples/protocols/pppos_client/main/pppos_client_main.c @@ -59,7 +59,7 @@ static esp_err_t example_handle_cmgs(modem_dce_t *dce, const char *line) #define MODEM_SMS_MAX_LENGTH (128) #define MODEM_COMMAND_TIMEOUT_SMS_MS (120000) -#define MODEM_PROMPT_TIMEOUT_MS (10) +#define MODEM_PROMPT_TIMEOUT_MS (100) static esp_err_t example_send_message_text(modem_dce_t *dce, const char *phone_num, const char *text) {