Commit 47ff0631 by 李维杰

修改wb_rebuild中mqtt参数

parent e133208f
......@@ -39,7 +39,7 @@ bool CmdTransportMqtt::ConnectServer(std::string mqtt)
//uuid@roomid
std::string clientid = uu_id_;
int nRet = MQTTAsync_create(&mqtt_client_, options.connection, clientid.c_str(), MQTTCLIENT_PERSISTENCE_DEFAULT, NULL);
int nRet = MQTTAsync_create(&mqtt_client_, options.connection, clientid.c_str(), MQTTCLIENT_PERSISTENCE_NONE/*MQTTCLIENT_PERSISTENCE_DEFAULT*/, NULL);
nRet = MQTTAsync_setCallbacks(mqtt_client_, this, NULL, mqtt_messageArrive, NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment