diff options
| author | Uros Majstorovic <majstor@majstor.org> | 2020-08-09 20:33:22 +0200 | 
|---|---|---|
| committer | Uros Majstorovic <majstor@majstor.org> | 2020-08-09 20:33:22 +0200 | 
| commit | 02f26ba882a7f3bc5ca2779ac1b7484c9407793e (patch) | |
| tree | 23344e5d7855ff71ad3b6f0cec14f9c55b710ebc | |
| parent | e1dd295cbdb2d83b52ef74ebaf4e503d3589614f (diff) | |
sms storage flash mem
| -rw-r--r-- | fw/esp32/components/eos/cell_modem.c | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/fw/esp32/components/eos/cell_modem.c b/fw/esp32/components/eos/cell_modem.c index c758a73..0a4c754 100644 --- a/fw/esp32/components/eos/cell_modem.c +++ b/fw/esp32/components/eos/cell_modem.c @@ -32,7 +32,7 @@  #define MODEM_ETYPE_INIT    1  #define MODEM_ETYPE_RI      2 -#define AT_CMD_INIT_SIZE    4 +#define AT_CMD_INIT_SIZE    5  #define MIN(X, Y)           (((X) < (Y)) ? (X) : (Y))  #define MAX(X, Y)           (((X) > (Y)) ? (X) : (Y)) @@ -43,7 +43,8 @@ static char *at_cmd_init[AT_CMD_INIT_SIZE] = {      "AT+CFGRI=1\r",      "AT+CSCLK=1\r",      "AT+CLIP=1\r", -    "AT+CMGF=0\r" +    "AT+CMGF=0\r", +    "AT+CPMS=\"ME\",\"ME\",\"ME\"\r"  };  static SemaphoreHandle_t mutex; | 
