|
@@ -117,7 +117,7 @@ public class MQTTClient : MonoSingleton<MQTTClient>
|
|
|
// Debug.Log("DGJ ==>MQTT " + id + account + " " + username + " " + certification + " " + HttpActionLang.Instance.mqttSocket);
|
|
|
|
|
|
DisConnect();
|
|
|
- qt = new QTTManager(MQTTManager.Instance.id + MQTTManager.Instance.account, MQTTManager.Instance.username , MQTTManager.certification, HttpActionLang.Instance.mqttSocket, "1883");
|
|
|
+ qt = new QTTManager(MQTTManager.Instance.id, MQTTManager.Instance.username , MQTTManager.certification, HttpActionLang.Instance.mqttSocket, "1883");
|
|
|
qt.Connect();
|
|
|
StartCoroutine(Reconnection());
|
|
|
qt.ConnectionFailed += onFaild;
|