utimeq in uhttpd for simple webserver
-
Hello,
I am trying to use the uhttpd and it seems in the current micropython version of WiPy/LoPy it is not yet enabled/implemented. Any idea if this will be enabled some days or not planned ?
What i want to do is to provide a http server to configure the device via wifi AP at startup, basically GET and POST methods to retrieve and save a configuration file via a form.
I've tried this also uPython-esp8266-httpserver, removing the unecessary functions and adapting it to WiPy/LoPy however it is not really stable and behaving erratically.
TIA
-
+1
i have the same issues, want to build a stable REST service to send/receive LoRa over WiFi. I have the http-server working with socket either it crashes after a few minutes while not getting any request.
-
Well, me it is working while waiting for requests but sometimes with the same request it crashes, sometimes not.
-
It was suggested to me to reuse the webrepl code for a web server. I looked at it and went cross-eyed; too advanced for me yet. But yes, a solid web server is a must-have. I ended up implementing something poor but not crashing using usocket.
-
@BetterAuto I have a running one in my micropython v1.9 unix implementation using uhttpd, I hope I will soon be able to use it on my PyCom devices.
-
+1
utimeq enabled in sigfox would be awesome
I'd like to use the latest version of picoweb on my LoPy but it has utimeq as a dependency.
https://github.com/pfalcon/picoweb
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login