王铭轩 仓库
Fork of SBY_sw4stm32_nucleo_f103rb by
Diff: SBY/esp8266.cpp
- Revision:
- 3:55a34662204f
- Parent:
- 0:7725181a2a09
--- a/SBY/esp8266.cpp Thu Aug 02 13:02:11 2018 +0000 +++ b/SBY/esp8266.cpp Fri Aug 03 06:22:21 2018 +0000 @@ -219,7 +219,7 @@ bool Esp8266::publish_value(const char *topic, const char *data) { //定义类的函数 //if (mqtt_start) { - ESP_CMD("m:publish('/values/'..node_name..'/%s',\"%s\",0,1)", topic, data); + ESP_CMD("m:publish('/values/'..node_name..'/%s',\"%s\",0,0)", topic, data);// wait(0.1); //} return true;