Git Product home page Git Product logo

Comments (7)

jessebraham avatar jessebraham commented on July 20, 2024

I'm not aware of any no_std web servers available on crates.io so we will likely need to implement some web server ourselves, unless there is a package available which I've missed. @bjoernQ can correct me if I'm wrong about this.

I do agree though, eventually it would be nice to demonstrate this functionality.

from esp-wifi-sys.

MabaKalox avatar MabaKalox commented on July 20, 2024

I mostly ask it, because I feel totally lost. And have no idea where to start. But for sure will send pull request... if manage to write something.
BTW: smoltcp has an example which called server, but for now I am too dump to understand, what it actually does.

from esp-wifi-sys.

bjoernQ avatar bjoernQ commented on July 20, 2024

I also don't know any no-std/no-alloc HTTP server but probably writing something very simple should be possible in a few lines of code. (While a real HTTP server is definitely a lot of code)

In general I think at least some example showing a TCP server would be good and something that "looks like" HTTP is probably convenient since it can be tested in a browser.

from esp-wifi-sys.

taunusflieger avatar taunusflieger commented on July 20, 2024

I'm also looking for a HTTP server on an ESP32C3. With IDF / RTOS it is available. I'm wondering if it makes sense on no-std without having an async HAL and Wifi - and Embassy as an async application model. Interested to get other people's perspective.

from esp-wifi-sys.

bjoernQ avatar bjoernQ commented on July 20, 2024

#95 adds an oversimplified example showing a single server-socket used to do something that "looks like" HTTP - a real HTTP server is definitely out-of-scope for this crate

from esp-wifi-sys.

bjoernQ avatar bjoernQ commented on July 20, 2024

Closing since we now have an example using server sockets - as said a real HTTP server is out-of-scope for this crate

from esp-wifi-sys.

MabaKalox avatar MabaKalox commented on July 20, 2024

Big thanks!

from esp-wifi-sys.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.