summaryrefslogtreecommitdiff
path: root/fw/esp32/components/eos/cell_modem.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2020-08-09 02:03:25 +0200
committerUros Majstorovic <majstor@majstor.org>2020-08-09 02:03:25 +0200
commit587729b76869eb56decbf72d3a1e7f2bc2041a24 (patch)
tree8e17f8304831c684e273196816dfa5862ed0f3b3 /fw/esp32/components/eos/cell_modem.c
parent6c0542f5aaafc0d463876ade4427ccbec0ee5eda (diff)
sms service added/tested
Diffstat (limited to 'fw/esp32/components/eos/cell_modem.c')
-rw-r--r--fw/esp32/components/eos/cell_modem.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fw/esp32/components/eos/cell_modem.c b/fw/esp32/components/eos/cell_modem.c
index 537bbbe..4c9271f 100644
--- a/fw/esp32/components/eos/cell_modem.c
+++ b/fw/esp32/components/eos/cell_modem.c
@@ -22,7 +22,7 @@
// XXX: PPP reconnect on failure
-#define UART_SIZE_IO_BUF 1024
+#define UART_SIZE_IO_BUF 8192
#define UART_GPIO_TXD 16
#define UART_GPIO_RXD 17
@@ -250,8 +250,6 @@ static void modem_atcmd_read(size_t bsize) {
}
if (uart_buf_len == sizeof(uart_buf) - 1) {
uart_buf_len = 0;
- memcpy(urc_buf, uart_buf, sizeof(urc_buf));
- at_urc_process(urc_buf);
}
} while (rd != bsize);
}