Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[PYFW-356] Update AT command apending with only '\r'
  • Loading branch information
iwahdan88 committed Oct 30, 2019
commit bf89c1e02e974b2e4f7fb673fe915f2ac63dc687
2 changes: 1 addition & 1 deletion esp32/lte/lteppp.c
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ static bool lteppp_send_at_cmd_exp (const char *cmd, uint32_t timeout, const cha
// then send the command
uart_write_bytes(LTE_UART_ID, cmd, cmd_len);
if (strcmp(cmd, "+++")) {
uart_write_bytes(LTE_UART_ID, "\r\n", 2);
uart_write_bytes(LTE_UART_ID, "\r", 1);
}
uart_wait_tx_done(LTE_UART_ID, LTE_TRX_WAIT_MS(cmd_len) / portTICK_RATE_MS);
vTaskDelay(2 / portTICK_RATE_MS);
Expand Down