There are no public brokers to simply use like with MQTT
Best for local usage
Best option performancewise
TCP:
Needs framing for messages so they can be tokenized on the receiving end
Same applies to communication over a serial port
In the helpbrowser, see: “HowTo Send a stream of data” “HowTo Receive a stream of data”
Assignment:
Build a “chat app”, where avatars can walk around on a 2d canvas and share a message each
Build a record datatype “AvatarData” with the following properties:
Position
Rotation
Radius
Color
Text
Create a process node “Avatar” that can move one avatar around using the keyboard (rotate, move fwd, ie. similar to the player in Osmosis) and takes a message
Publish the avatar via MQTT topic: avatar/1
Create a process node “DrawAvatar” that can visualize one avatar and its message
Receive a range of published avatars and visualize them
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are ok with it.
Wir verwenden Cookies bei Ihrem Besuch unserer Website. Wenn Sie fortfahren stimmen Sie der Verwendung von Cookies zu. OkPrivacy policy / Datenschutz