-->
Page 1 of 3

Getting the units ip address as a string

PostPosted: Wed Sep 30, 2015 9:12 pm
by Mmiscool
How can i get the units ip address as a string.

WiFi.localIP()

Looking to do this in a function with out modifying any of the libraries.

Re: Getting the units ip address as a string

PostPosted: Wed Sep 30, 2015 9:34 pm
by forlotto
I may be lacking on the answer but here is my attempt to help.

https://github.com/jeelabs/esp-link/blo ... ifi.c#L558

Re: Getting the units ip address as a string

PostPosted: Thu Oct 01, 2015 1:22 am
by igrr
WiFi.localIP().toString() :D

Re: Getting the units ip address as a string

PostPosted: Thu Oct 01, 2015 7:46 pm
by Mmiscool
Thanks. that's great.