-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for embedded-tls? #41
Comments
@flyaruu If I remember correctly, I have tried it with embedded tls. However, it is a long, long time ago. |
@flyaruu , did you figure this out in the end on the ESP? |
send should |
Thanks @JadKHaddad, got it to work the ESP32 with your fix 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I've been trying to get rust-mqtt to work with embedded-tls. I'm not sure if it is supported at all (only sign I found is the 'tls' feature)
Originally for an ESP32C3, but switched to std/tokio until I've got this working.
I've managed to get an encrypted connection up and running, and pass that into the rust-mqtt client, but it seems to hang in the connect_to_broker method, until it finally times out.
Maybe something doesn't get flushed properly? I can dig more, but I thought I'd reach out first.
Gist of my example: https://gist.github.com/flyaruu/71f9448474be28f0c9050fdcc86cbba8
(If I remove the TLS stuff, and pass the tcp connection straight into the mqtt_client (with a FromTokio) it works fine)
Any ideas?
The text was updated successfully, but these errors were encountered: