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.
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.
Copy to Clipboard
idf.py add-dependency "espressif/esp_modem^0.1.25"
To create a project from this example, run:
Copy to Clipboard
idf.py create-project-from-example "espressif/esp_modem^0.1.25:ap_to_pppos"
To create a project from this example, run:
Copy to Clipboard
idf.py create-project-from-example "espressif/esp_modem^0.1.25:linux_modem"
To create a project from this example, run:
Copy to Clipboard
idf.py create-project-from-example "espressif/esp_modem^0.1.25:modem_console"
To create a project from this example, run:
Copy to Clipboard
idf.py create-project-from-example "espressif/esp_modem^0.1.25:pppos_client"
To create a project from this example, run:
Copy to Clipboard
idf.py create-project-from-example "espressif/esp_modem^0.1.25:simple_cmux_client"
Copy to Clipboard
Copy to Clipboard