ESP32
Connect ESP32-based boards with the Qubitro MQTT package.
Introduction
This example uses Qubitro MQTT Client that offers a custom naming convention for easier development. It is possible to use any 3rd party MQTT Client with the following requirements.
For example, it is possible to use the WiFiClientSecure library to connect MQTT over TLS with 8883 port.
Conventions
The helpful naming conventions for 3rd party MQTT libraries.
Value Name | Qubitro Equivalent |
User Name | Device ID |
User Password | Device Token |
Client ID | Device ID |
Production port | 8883 |
Development/Test port | 1883 |
Examples
Subscribe and Publish Example
The following code connects to your wireless network, generates simulated sensor values, and publishes them to the Qubitro.
Example output:
WifiClientSecure Example
β¨ Support and Feedback
If you have further questions or suggestions, feel free to join π -> Qubitro Community Discord via this invitation link.
Last updated