diff --git a/src/commser.cpp b/src/commser.cpp index ffc7076..5246893 100644 --- a/src/commser.cpp +++ b/src/commser.cpp @@ -16,10 +16,10 @@ static const char *MOUDLENAME = "COMMSER"; /*项目对象*/ // char* ssid = "szdot"; //wifi帐号 // char* password = "Ttaj@#*.com"; //wifi密码 -char *ssid = "flicube"; // wifi帐号 -char *password = "fxmf0622"; // wifi密码 -// char *ssid = "fxmf_sc01"; // 4g wifi帐号 -// char *password = "12345678"; // 4g wifi密码 +// char *ssid = "flicube"; // wifi帐号 +// char *password = "fxmf0622"; // wifi密码 +char *ssid = "fxmf_sc01"; // 4g wifi帐号 +char *password = "12345678"; // 4g wifi密码 char *mqttServer = "szdot.top"; // mqtt地址 int mqttPort = 1883; // mqtt端口 char *mqttName = "admin"; // mqtt帐号 @@ -337,6 +337,7 @@ void writeRoute(String todoJson) if (str != "") { fc.questVoiceStr = str; + fc.pubMQTTmsg("demo", str); } fc.logln("frame--"); fc.logln(frame);