add mqtt demo

This commit is contained in:
Chen Han
2019-10-29 15:12:36 +08:00
parent d22ebb3696
commit 70ff2dad56
7 changed files with 395 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#ifndef TOS_MQTT_CONFIG_H
#define TOS_MQTT_CONFIG_H
#error please replace yourself server configuration
/**
* 1. run python tool
* ```
* cd tiny/tools/
* python3 mqtt_config_gen.py
* ```
* then input your server information
*
* 2. tool will generate `mqtt_config.h` file, copy to replace this file
*/
#endif