Siam Active Member Licensed User Longtime User Jan 10, 2019 #1 Hello, mybee i be blind or i dont understand the code i need to know how i can wrap this: B4X: void loop(void) { httpServer.handleClient(); MDNS.update(); } the second question is this possible to add in the B4R code? Add a version number constant variable to your sketch, outside of any functions. Click to expand... B4X: const int FW_VERSION = 1244; if yes how i can do this ? sorry if the questions are maybe a little stupid regards Andy
Hello, mybee i be blind or i dont understand the code i need to know how i can wrap this: B4X: void loop(void) { httpServer.handleClient(); MDNS.update(); } the second question is this possible to add in the B4R code? Add a version number constant variable to your sketch, outside of any functions. Click to expand... B4X: const int FW_VERSION = 1244; if yes how i can do this ? sorry if the questions are maybe a little stupid regards Andy
Erel B4X founder Staff member Licensed User Longtime User Jan 10, 2019 #2 It will not help you to call these two method. I'm sure that you will need to access other features as well. What are you trying to do?
It will not help you to call these two method. I'm sure that you will need to access other features as well. What are you trying to do?
Siam Active Member Licensed User Longtime User Jan 10, 2019 #3 hello, i will wrap this https://github.com/esp8266/Arduino/...dateServer/examples/WebUpdater/WebUpdater.ino
hello, i will wrap this https://github.com/esp8266/Arduino/...dateServer/examples/WebUpdater/WebUpdater.ino
Erel B4X founder Staff member Licensed User Longtime User Jan 10, 2019 #4 Only create a http server if you want to access the ESP8266 from a browser. There are other simpler and better options. Example of a simple web server: https://www.b4x.com/android/forum/threads/esp8266-wifi-remote-configuration.68596/#content
Only create a http server if you want to access the ESP8266 from a browser. There are other simpler and better options. Example of a simple web server: https://www.b4x.com/android/forum/threads/esp8266-wifi-remote-configuration.68596/#content
Siam Active Member Licensed User Longtime User Jan 10, 2019 #5 that i know i don't want only a webserver i would like to wrap the OTA funktion and this need a webserver
that i know i don't want only a webserver i would like to wrap the OTA funktion and this need a webserver