Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static IP address #413

Open
gariac opened this issue Dec 15, 2023 · 2 comments
Open

Static IP address #413

gariac opened this issue Dec 15, 2023 · 2 comments

Comments

@gariac
Copy link

gariac commented Dec 15, 2023

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

@hr-ru
Copy link
Contributor

hr-ru commented Dec 15, 2023

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
Copy link
Author

gariac commented Dec 16, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants