Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] mqtt<->websocket

And make sure that your mosquitto server up to date. Websocket is not supported central ubuntu repositories. You can add mosquitto ppa and install from there the latest version. 


Ppa: https://launchpad.net/~mosquitto-dev/+archive/ubuntu/mosquitto-ppa/


Mustafa Said Uçar

Electronics Engineer

GΩHM Electronics


------ Original message------

From: Nicholas O'Leary

Date: Fri, 19 Feb 2016 12:06

To: General development discussions for the mosquitto project;

Subject:Re: [mosquitto-dev] mqtt<->websocket


First you need an MQTT client that supports connecting over websockets. 

Eclipse Paho has a _javascript_ client that does just that - http://www.eclipse.org/paho/clients/js/

Once you have that connected, then it behaves like any other mqtt client - the fact it is connected using websockets doesn't matter. You'll be able to publish and subscribe to topics and it won't matter how other clients are connected to the broker.

Nick




On 19 February 2016 at 09:49, Артем Пастухов <artem.pastukhov@xxxxxxxxx> wrote:
Hi all.
Is there any howto about passing messages between mqtt and websocket on same mosquitto server?

_______________________________________________
mosquitto-dev mailing list
mosquitto-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mosquitto-dev


Back to the top