MQTT Send and Receive Example

 2
               
by
Team cables

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.Deprecated.Net.Mqtt.Mqtt_v2 Ops.Deprecated.Net.Mqtt.MqttReceive_v2 Ops.Deprecated.Net.Mqtt.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