esp-rs / std-training

Embedded Rust on Espressif training material.
https://esp-rs.github.io/std-training
Apache License 2.0
606 stars 78 forks source link

The MQTT lesson is not for ESP32? #231

Closed hongquan closed 9 months ago

hongquan commented 9 months ago

I am following the MQTT lesson. When I add rumqtt as dependency, it doesn't compile, because it depends on tokio -> mio, which in turn requires Linux uring. So, can your confirm that this lesson for Linux host, not for ESP32 device?

MabezDev commented 9 months ago

Tokio has espidf support. Can you post your error?

SergioGasquez commented 9 months ago

There are 2 projects for the MQTT lesson:

In the book:

✅ In intro/mqtt/host_client you can find a host run program that mimics the behavior of a second client. Run it in a separate terminal using the cargo run command. Find more information about the host client below.

Please, go through https://esp-rs.github.io/std-training/03_5_2_mqtt.html to fully understand how the project works

hongquan commented 9 months ago

Thank you.