MQTT Send and Receive Example

               
by

Published Oct 24, 2016 at 15:58
Open In Editor


Sends a random value via MQTT to the public MQTT-broker shiftr.io and in the same time listens for changes on that channel /cablestest. MQTT is a great lightweight protocol to send values from one device to another, e.g. you could connect your Arduino with a cables-patch. If you visit shiftr.io/try#terminal you can view the information being sent.


Example for ops:
Ops.Extension.Deprecated.Mqtt_v2 Ops.Extension.Deprecated.MqttReceive_v2 Ops.Extension.Deprecated.MqttSend_v2 

Licence: Public Domain Dedication

Commercial use ok, freely remix, reuse this work without restriction, please credit the author.
 



More patches made by cables users





what is cables?


Cables is a tool for creating beautiful interactive content. With an easy to navigate interface and real time visuals, it allows for rapid prototyping and fast adjustments.

cables is free to use!

Register