Closed GoogleCodeExporter closed 8 years ago
Original comment by selva.an...@gmail.com
on 24 Oct 2013 at 9:45
The mqttws javascript library use WebSocket as a carrier protocol for MQTT
frames, moquette is an MQTT broker that doesn't support WebSocket, before use
this you have to put a proxy between WebSocket+MQTT and plain MQTT.
Original comment by selva.an...@gmail.com
on 24 Oct 2013 at 10:15
I don't need to use mqttws necessarily, it was just my first trial.
I just need to call moquette from javascript; so what plain MQTT javascript
library could I use?
Do you have any html/javascript example or test page that should I look at?
Thank you very much
Vincenzo
Original comment by vincenzo...@gmail.com
on 24 Oct 2013 at 9:26
I don't have any experience with MQTT javascript library, I've used Eclipse
Paho Java client library, but from the mqtt.org
(http://mqtt.org/wiki/doku.php/libraries) there are some js lib that don't use
WebSocket, https://github.com/adamvr/MQTT.js and
https://github.com/mcollina/ascoltatori as I understand both runs into Node.js.
I expect that from a browser you can't open a JS connection to port different
from HTTP ports, but it's just mine hypotesis.
Regards
Andrea
Original comment by selva.an...@gmail.com
on 28 Oct 2013 at 10:14
Original issue reported on code.google.com by
vincenzo...@gmail.com
on 23 Oct 2013 at 10:27