Files
esp-protocols/components/esp_modem
David Cermak ae38110d84 feat(modem): Added support for at_raw() command
at_raw() sends raw string and supports custom pass/fail phrases for the
API to return OK/FAIL. It also returns raw, unprocessed string as
output.
This allows sending custom requests, such as:
* dce->at_raw("", resp, "RDY", "...", 20000) -- waiting for reset
* esp_modem_at_raw(dce, "+++", resp, "DISCONNECTED", "ERROR", 5000) --
exits PPP mode

Closes https://github.com/espressif/esp-protocols/issues/471
Partially addresses https://github.com/espressif/esp-protocols/issues/468
2024-01-09 08:20:10 +01:00
..
2023-12-06 09:22:39 +01:00
2023-12-06 09:22:39 +01:00
2023-12-06 09:22:39 +01:00
2021-10-04 11:32:55 +02:00

ESP MODEM

Component Registry

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 C
  • examples/modem_console -- C++ example implementing simple terminal console with DCE commands
  • examples/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