d1-mini
d1-mini copied to clipboard
networking?
hey @jessebraham this is a great project. I'd love to be able to get the networking feature to work on my d1-mini.
Do you have any ideas on how this can be achieved? Thanks! 🙏
Thank you for your interest!
I would also like to get the networking functional for the ESP8266, as would a number of other community members. Unfortunately, this is easier said than done and there are a number of problems to solve first, such as (but not limited to):
- I suspect we will need to wrap a binary blob for the Wi-Fi peripheral from ESP8266_RTOS_SDK and create bindings for the relevant functions in Rust.
- Since we have no underlying RTOS, we will likely need to have some method of task switching For example we could implement something like cortexm-threads.
- We will need to find or create a number of traits to actually interact with the peripheral. For example, see the embedded-svc library which does this for the ESP32 chips targeting
stdviaesp-idf.
Since this repository is essentially just a wrapper for esp8266-hal and some other libraries, this functionality should be implemented there or in a separate crate entirely.
There was an attempt to do the above for the ESP32 which can be found in the esp32-wifi repository, but this unfortunately has not yet been made to work. This could serve as an example of how to go about accomplishing this task, however.
If you are interested in working on this I'm happy to discuss things further here or in the esp-rs Matrix channel.