Yes, @allObjects has it right. You can't have a sync getIP when running with a separate ESP8266.
Collectively we spent days discussing Wifi for ESP8266, and made a huge wiki page where we agreed on an API that would work for both.
Ultimately it got totally ignored when ESP8266 was implemented though, and sadly it's stuck since I have no time to fix it :)
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Yes, @allObjects has it right. You can't have a sync getIP when running with a separate ESP8266.
Collectively we spent days discussing Wifi for ESP8266, and made a huge wiki page where we agreed on an API that would work for both.
Ultimately it got totally ignored when ESP8266 was implemented though, and sadly it's stuck since I have no time to fix it :)