rdz_ttgo_sonde icon indicating copy to clipboard operation
rdz_ttgo_sonde copied to clipboard

Static IP address

Open gariac opened this issue 1 year ago • 2 comments

Is there some way to make the IP address static when the Lora board attaches to a host?

gariac avatar Dec 15 '23 08:12 gariac

Not in the standard version.

You could easily modify and compile the source code yourself, it is just adding a WiFi.config call before the WiFi.begin, as in this example: https://randomnerdtutorials.com/esp32-static-fixed-ip-address-arduino-ide/

In most cases, you could also easily configure your access point to always assign a static IP address to a specific device. This would not require any modifications on the Lora board.

hr-ru avatar Dec 15 '23 08:12 hr-ru

Thanks. I will give it a try. I know how to compile with platformio.

gariac avatar Dec 16 '23 06:12 gariac