cxdzbl Active Member Licensed User May 11, 2017 #1 I've used the example code for this page: https://www.b4x.com/android/forum/threads/jmqtt-official-android-mqtt-client.59497/ mqtt.Initialize("mqtt", "tcp://m13.cloudmqtt.com:11043", Rnd(0, 999999999) & DateTime.Now) Dim mo As MqttConnectOptions mo.Initialize(name, password) Change my registered user name and password, but can not link, return error information is 5, I have no right to access.
I've used the example code for this page: https://www.b4x.com/android/forum/threads/jmqtt-official-android-mqtt-client.59497/ mqtt.Initialize("mqtt", "tcp://m13.cloudmqtt.com:11043", Rnd(0, 999999999) & DateTime.Now) Dim mo As MqttConnectOptions mo.Initialize(name, password) Change my registered user name and password, but can not link, return error information is 5, I have no right to access.
Erel B4X founder Staff member Licensed User Longtime User May 12, 2017 #2 Does it work with a local broker (mosquitto or an embedded broker)? Upvote 0
cxdzbl Active Member Licensed User May 12, 2017 #3 Erel said: Does it work with a local broker (mosquitto or an embedded broker)? Click to expand... Because our language barrier problem, always use software to translate your reply, is not accurate enough, so I do not understand your reply, I hope you can give me every step of the detailed answer, thank you. Upvote 0
Erel said: Does it work with a local broker (mosquitto or an embedded broker)? Click to expand... Because our language barrier problem, always use software to translate your reply, is not accurate enough, so I do not understand your reply, I hope you can give me every step of the detailed answer, thank you.
Erel B4X founder Staff member Licensed User Longtime User May 14, 2017 #4 Do not use CloudMQTT. Run Mosquitto on your PC and open the relevant port in Windows firewall. Does it work? Upvote 0
Do not use CloudMQTT. Run Mosquitto on your PC and open the relevant port in Windows firewall. Does it work?
cxdzbl Active Member Licensed User May 14, 2017 #5 Erel said: Do not use CloudMQTT. Run Mosquitto on your PC and open the relevant port in Windows firewall. Does it work? Click to expand... After installing mosquiitto, prompt when running under DOS: 2[main] mosquitto 16068 find_fast_cwd: WARNING: couldn't compute FAST_CWD pointer.please report this problem to the public mailing list [email protected] Upvote 0
Erel said: Do not use CloudMQTT. Run Mosquitto on your PC and open the relevant port in Windows firewall. Does it work? Click to expand... After installing mosquiitto, prompt when running under DOS: 2[main] mosquitto 16068 find_fast_cwd: WARNING: couldn't compute FAST_CWD pointer.please report this problem to the public mailing list [email protected]
Erel B4X founder Staff member Licensed User Longtime User May 14, 2017 #6 Does it crash? You can also use the embedded broker: https://www.b4x.com/android/forum/threads/61548/#content Upvote 0
Does it crash? You can also use the embedded broker: https://www.b4x.com/android/forum/threads/61548/#content
cxdzbl Active Member Licensed User May 16, 2017 #7 Erel said: Does it crash? You can also use the embedded broker: https://www.b4x.com/android/forum/threads/61548/#content Click to expand... After continuous testing, chat_b4a is available, running well in GPRS or in WiFi network, thanks, the problem has been resolved, and the next step is to analyze the code. Upvote 0
Erel said: Does it crash? You can also use the embedded broker: https://www.b4x.com/android/forum/threads/61548/#content Click to expand... After continuous testing, chat_b4a is available, running well in GPRS or in WiFi network, thanks, the problem has been resolved, and the next step is to analyze the code.