2v06 ESP32 Static IP not available? #7411
Replies: 1 comment
-
Posted at 2020-08-30 by @MaBecker Yes, just checked setIP, getIP() setAPIP() and getAPIP() are not jet implemented for ESP32 implementation. If you like do the implementation. Posted at 2020-08-31 by dgk Well if it involves CPP code that's a maybe. I've been exploring espruino as an option to writing CPP since CPP is not a language I know very well like node. Still, if it has been done for esp8266 maybe the implementation can more or less be copied. Posted at 2020-08-31 by @MaBecker ESP32 stuff is written in C. Starting point is jswrap_esp32_network.c and jswrap_esp32_network.h
Not sure about this, because ESP32 is a bit different. Posted at 2020-08-31 by dgk This library from espressif has a config method that accepts static ip as demonstrated in tutorial below. Can this just be incorporated? https://randomnerdtutorials.com/esp32-static-fixed-ip-address-arduino-ide/ Alternatively If I can't get to this I'll set up a fixed IP from my DHCP server based on MAC for now. Posted at 2020-08-31 by @MaBecker I guess this is what you are looking for:
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-08-30 by dgk
I'm running 2v06 esp32 espruino.
If I read the docs correctly (no options in connect and setIP is unknown) it is not possible at this time to set a static IP (although it seems possible for esp8266)?
Beta Was this translation helpful? Give feedback.
All reactions