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

How to use static ip address on ESP12e? #42

Closed
wzk opened this issue Sep 27, 2016 · 2 comments
Closed

How to use static ip address on ESP12e? #42

wzk opened this issue Sep 27, 2016 · 2 comments

Comments

@wzk
Copy link

wzk commented Sep 27, 2016

I use 'network_interface_set_ip_address()' function to setting ip address for WIFI interface, after this action, I can see the ip address use 'inet/network_interface/list' command in shell, but the network is unreachable.

btw, howto config netmask & gateway address?

@eerimoq
Copy link
Owner

eerimoq commented Sep 27, 2016

I've actually never tried to use a static IP, sorry. I'm not surprised if some changes are required to make it work.

@eerimoq
Copy link
Owner

eerimoq commented Oct 15, 2016

The ESP WiFi wrapper has been rewritten and pushed. See the station example for how to setup a WiFi station with static IP.

@eerimoq eerimoq closed this as completed Oct 15, 2016
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