Open IngoDeng opened 6 years ago
All connection timeout: const client = new Paho.MQTT.Client('iot.eclipse.org',80, 'aaa'); //const client = new Paho.MQTT.Client('mqtt.swifitch.cz',1883, 'aaa'); client.onConnectionLost = this.onConnectionLost; client.onMessageArrived = this.onMessageArrived; client.connect({ onSuccess: this.onConnect,onFailure:this.onFailure });
"react": "16.0.0", "react-native": "0.51.0", "react_native_mqtt": "^1.1.9"
Someone help?
This library is very unpredictable.
您好,已经收到您的邮件。
All connection timeout: const client = new Paho.MQTT.Client('iot.eclipse.org',80, 'aaa'); //const client = new Paho.MQTT.Client('mqtt.swifitch.cz',1883, 'aaa'); client.onConnectionLost = this.onConnectionLost; client.onMessageArrived = this.onMessageArrived; client.connect({ onSuccess: this.onConnect,onFailure:this.onFailure });
"react": "16.0.0", "react-native": "0.51.0", "react_native_mqtt": "^1.1.9"
Someone help?