Rewrite examples

This commit is contained in:
hsaturn
2021-04-12 00:23:08 +02:00
parent ce896f02c4
commit 5d313bbf5e
5 changed files with 61 additions and 23 deletions

View File

@@ -1,9 +1,21 @@
#include "TinyMqtt.h" // https://github.com/hsaturn/TinyMqtt
/** Simple Client
/** Simple Client (The simplest configuration)
*
* This is the simplest Mqtt client configuration
*
*
* +--------+
* +------>| broker |<--- < Other client
* | +--------+
* |
* +-----------------+
* | ESP | |
* | +----------+ |
* | | internal | |
* | | client | |
* | +----------+ |
* | |
* +-----------------+
*
* 1 - edit my_credentials.h to setup wifi essid/password
* 2 - change BROKER values (or keep emqx.io test broker)
*