This code was designed to send AT command from Arduino IDE Serial Monitor using ESP32. SIM800L and ESP32 connection: RESET -> D5 ESP32, TXD -> RX2 ESP32 and RXD -> TX2 ESP32.
Best tutorial to setup GPRS using AT command: https://exploreembedded.com/wiki/Setting_up_GPRS_with_SIM800L