add mqtt demo
This commit is contained in:
17
board/Linux_Posix/mqtt_demo/inc/mqtt_config.h
Normal file
17
board/Linux_Posix/mqtt_demo/inc/mqtt_config.h
Normal 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
|
||||
|
Reference in New Issue
Block a user