YX ZHANG
/
iot_example
IoT demo
Fork of my_example_esp8266 by
Diff: esp8266.h
- Revision:
- 8:d5e340a59c71
- Parent:
- 3:06080fa094a0
--- a/esp8266.h Wed Dec 13 10:09:44 2017 +0000 +++ b/esp8266.h Mon Mar 19 03:32:21 2018 +0000 @@ -23,7 +23,7 @@ // 连接模式 bool connect_wifi(const char *wifi_ssid, const char *wifi_passwd); bool weblogin(); - bool connect_mqtt_broker(char *ip, const char* sensors[][2], const char* actuator[][2]); + bool connect_mqtt_broker(char *ip, const char *node_name, const char* sensors[][2], const char* actuator[][2]); bool is_connected(); bool publish_value(const char *topic, const char *data);