Hi I´m new in Platformio and I´ve been having a problem using ESP32 wifi.
I created a very simple program in wich a wifi spot is created.
The problem is that when I try to connect my PC to the wifi, ESP32 reboots.
So you’ve set a subnet mask of 255.255.255.0. Since the gateway is at 192.168.1.1 you have the ranges 192.168.1.0 to 192.168.1.255. The IP 192.168.4.1 is out of that range.
Can you provide the serial output please. (e.g. using miniterm.py or the pio monitor command, but then set monitor_speed = 115200).
How do you power the ESP32a nd which exact one do you have? WiFi is power hungry. Have you tried a different USB cable or a USB port directly on the computer?