tuanpmt / esp32-mqtt

ESP32 MQTT sample project for
https://github.com/tuanpmt/espmqtt
Apache License 2.0
180 stars 51 forks source link

Documentation for MQTT Library by tuanpmt #22

Open RfAkramKarimi opened 7 years ago

RfAkramKarimi commented 7 years ago

Hello everyone, I am new to ESP32 and is using this MQTT library posted by tuanpmt. To get started, I need to do some basic operations like Subscribing and Publishing a particular TOPIC. Can anyone give me some good documentation/literature/examples to see how to initialize the structures in this library like mqtt_state, connect_info, xSendingQueue, send_rb etc?

As you know these structures are needed to initialize the mutt_client which is eventually needed to subscribe to the topic.

Thanks

bcanustundag commented 7 years ago

This is "the" sample application that you can be able to get started with this library. As it is also indicated in the readme as a "sample application" that demonstrates the usage of esp32-mqtt library (which is added as a component to this project).

Check app_main.c file and before everything else check the dependencies given in the readme.