We recently published a document called ESP32-M1 Internet Communication Setup with NAT and Speed Test. It provides basic setup instruction for AP/STA communication with routers, including topics such as: