![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
init
Fork of 仓库 by
Diff: esp8266.h
- Revision:
- 8:d5e340a59c71
- Parent:
- 3:06080fa094a0
diff -r 49a823b5a935 -r d5e340a59c71 esp8266.h --- 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);