Skip to content

Latest commit

 

History

History

4g_hotspot

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
Supported Targets ESP32 ESP32-C2 ESP32-C3 ESP32-C6 ESP32-S2 ESP32-S3 ESP32-H2

4G to Hotspot example

Overview

This example focuses on the networking part, enables forwarding packets between network interfaces. It creates a WiFi soft AP, which uses NAT to forward packets to and from the PPP network interface.

How to use example

Hardware Required

  • A 4G module
  • An esp32 series development board
  • A Micro-USB cable for power supply and programming

Follow detailed instructions provided specifically for this example.

Choose the interface of the modem

You can select the interface (UART or USB) connected to the Modem in Component config → Bridge Configuration → Modem Configuration of menuconfig.

Build and Flash

Run idf.py flash monitor to build, flash and monitor the project.

Once a complete flash process has been performed, you can use idf.py app-flash monitor to reduce the flash time.

(To exit the serial monitor, type Ctrl-]. Please reset the development board f you cannot exit the monitor.)

For more information, see User_Guide.md.