Page 2 of 2
Re: ESP Hostname Change
Posted: Thu Dec 14, 2023 5:12 pm
by chipfryer27
Hi
Not actually done this and at present I've no real access to ESP32's until I sort a few things out, so I have no idea if it will work.
The ESP32, like the ESP8266 can be controlled via "AT" commands and a lot of changes are retained. Perhaps you could change using "AT" then use FC as before?
I probably have the AT command set somewhere so I will see if it allows such. Again I've no idea if this is feasible or just stupid
Regards
Re: ESP Hostname Change
Posted: Thu Dec 14, 2023 6:41 pm
by lucibel
hi,
I don't have menuconfig.bat in FC9 or FC10
I'm always access to menuconfig via CMD
Menuconfig who is very usefull
- Wifi Client.png (19.53 KiB) Viewed 3200 times
Re: ESP Hostname Change
Posted: Thu Dec 14, 2023 6:53 pm
by lucibel
chipfryer27 wrote: ↑Thu Dec 14, 2023 5:12 pm
Hi
Not actually done this and at present I've no real access to ESP32's until I sort a few things out, so I have no idea if it will work.
The ESP32, like the ESP8266 can be controlled via "AT" commands and a lot of changes are retained. Perhaps you could change using "AT" then use FC as before?
I probably have the AT command set somewhere so I will see if it allows such. Again I've no idea if this is feasible or just stupid
Regards
You can try with this prog, it's for TTGo but you can change the Target device
need to change SSID and PW
- SSID.jpg (89.46 KiB) Viewed 3200 times
then compile
wait for the connection to router and look the IP address of you ESP32
then you can open webpage and type the IP address of your esp32
- Server.jpg (23.04 KiB) Viewed 3200 times
Re: ESP Hostname Change
Posted: Thu Dec 14, 2023 11:17 pm
by chipfryer27
Hi
Section 4.2.14 (page 26) of the ESP32 AT Command set informs that you can indeed change the hostname by issuing
AT+CWHOSTNAME=<hostname>
However as this is one command that isn't saved in Flash the point is moot.
Sorry, looks like you need some C or other edit.
Regards