Quick guide for Rust library.
Visit the MQTT overview page for conventions, authentication, and more information.
This documentation uses the Paho MQTT
library. This library is open-source, so you can check it out on GitHub.
Install the packages
Then import it and initialize it with the required packages. Of course, you’ll want to replace DEVICE_ID
and DEVICE_TOKEN
with your actual device credentials which you can find under your device settings on Qubitro Portal.
Client Options:
MQTT Client:
We strongly recommend using the 8883 port for MQTT over TLS connectivity.
If you have further questions or suggestions, feel free to join -> Qubitro Community Discord via this invitation link.