dl9rdz / rdz_ttgo_sonde

280 stars 99 forks source link

Static IP address #413

Open gariac opened 11 months ago

gariac commented 11 months ago

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

hr-ru commented 11 months ago

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.

gariac commented 11 months ago

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