esp_modem: Fixed send data and wait for prompt fail from DCE

Closes https://github.com/espressif/esp-idf/issues/6428
Closes https://github.com/espressif/esp-idf/issues/6651
This commit is contained in:
Liu Han
2021-01-25 21:02:32 +08:00
committed by David Cermak
parent ec01a66557
commit 6471396ae6
2 changed files with 27 additions and 12 deletions
@@ -77,6 +77,7 @@ struct modem_dce {
char name[MODEM_MAX_NAME_LENGTH]; /*!< Module name */
char oper[MODEM_MAX_OPERATOR_LENGTH]; /*!< Operator name */
uint8_t act; /*!< Access technology */
const char *prompt; /*!< Modem prompt string */
modem_state_t state; /*!< Modem working state */
modem_mode_t mode; /*!< Working mode */
modem_dte_t *dte; /*!< DTE which connect to DCE */