alexCajas / EmbeddedMqttBroker

This is a Mqtt broker for embedded devices, developed in C++, FreeRTOS to use advanced multitasking capabilities, and arduino core. Tested in an Esp32 and esp8266.
https://github.com/alexCajas/EmbeddedMqttBroker
MIT License
71 stars 14 forks source link

Use Broker & Client #7

Closed Sungapelke closed 1 year ago

Sungapelke commented 1 year ago

Hello,

if I understand correctly, there is a client included in EmbeddedMqttBroker. How can I use this client in parallel with the broker. Publish and receive? Thanks in advance

alexCajas commented 1 year ago

Hi!, thanks for intersting in this project!, for now, this library only implements a mqtt broker, MqttBroker::MqttClient class has basic information about the current state of connection with the external client and some logic to process its mqtt messages. In future versions, I will include a functional MqttClient but for now it is not developed. To do what you ask, I normaly use PubSubClient.h. There is no issue if you use both libraries in the same scketch. I hope it has helped you!