mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-18 04:52:18 +02:00
If we received response in two chunks and the first one completes the command (result=OK or FAIL), and the second chunk pre-empts command processing, then we performed processing again rewritting the result back to TIMEOUT. This would invalidate the command, but also causes an exception: ESP_MODEM_THROW_IF_ERROR(ESP_ERR_INVALID_STATE) Fixed by checking if the processing already finished in process_line(). Closes https://github.com/espressif/esp-protocols/issues/426
ESP MODEM
The esp-modem
component is a managed component for esp-idf
that is used for communication with GSM/LTE modems
that support AT commands and PPP protocol as a network interface.
Examples
Get started with one of the examples:
examples/pppos_client
-- simple client implemented in Cexamples/modem_console
-- C++ example implementing simple terminal console with DCE commandsexamples/ap_to_pppos
-- this example focuses on the network connectivity of the esp-modem and provides a WiFi AP that forwards packets (and uses NAT) to and from the PPPoS connection.examples/simple_cmux_client
-- this example sets up the CMUX mode to talk to the modem using AT commands with simultaneously maintaining active network connection.
Documentation
- Continue with esp-modem brief overview
- View the full html documentation