Comments (7)
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.
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.
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.
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.
#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.
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.
Big thanks!
from esp-wifi-sys.
Related Issues (20)
- Driver Update HOT 1
- BLE example is not work for esp32s3 HOT 13
- [ESP32] esp-wifi crash if used with embassy and any task on the second core HOT 10
- Start a CHANGELOG.md
- ESP8266 WIFI attempts HOT 2
- esp-wifi should be useable without depending on embedded-svc HOT 1
- esp-wifi 0.3.0 does not compile for ESP32-C3, it depends on portable-atomic, and that doesnt build for RiscV HOT 5
- How to depend on esp-wifi in an external example HOT 3
- example/embassy_ble does not compile HOT 2
- esp-wifi lockup on esp32c3 when using the embassy InterruptExecutor HOT 3
- [ESP32] esp-wifi crashes when trying to connect via BLE HOT 6
- NVS initialization error HOT 1
- compile error HOT 2
- W (42148) wifi:m f null Getting This warning and then wifi is never reconnected in the execution HOT 1
- Critical section feature conflict between esp-wifi and esp-idf-hal HOT 3
- #[interrupt] macro has been removed from esp-hal-procmacros HOT 6
- docs.rs failed to build HOT 3
- HTTPS support HOT 2
- [RISCV] Stable esp-wifi HOT 2
- Access point example with password can't connect (ESP32S3) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp-wifi-sys.