Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 873cdef

Browse files
author
iwahdan88
committed
[PYFW-356] Update AT command apending with only '\r'
1 parent 2a9f771 commit 873cdef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

esp32/lte/lteppp.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ static bool lteppp_send_at_cmd_exp (const char *cmd, uint32_t timeout, const cha
595595
// then send the command
596596
uart_write_bytes(LTE_UART_ID, cmd, cmd_len);
597597
if (strcmp(cmd, "+++")) {
598-
uart_write_bytes(LTE_UART_ID, "\r\n", 2);
598+
uart_write_bytes(LTE_UART_ID, "\r", 1);
599599
}
600600
uart_wait_tx_done(LTE_UART_ID, LTE_TRX_WAIT_MS(cmd_len) / portTICK_RATE_MS);
601601
vTaskDelay(2 / portTICK_RATE_MS);

0 commit comments

Comments
 (0)