This tutorial was written after a IoT Hackathon in Berlin where we got our first contact with the Tessel. It shows how to use Tessel with Crossbar.io/WAMP.
Crossbar.io is a unified application router which connects application components using RPC and PubSub.
Practically speaking, the tutorial shows you how to connect your Tessel and a browser component, where both the Tessel and the browser component offer procedures for remote calling, call these procedures and log the results, subscribe to topics and publish to topics.
This means that you can e.g.
- offer a
take_picture procedure on a Tessel with a camera module, and that any other component in your application can call this
- publish current temperature readings to a
current_temperature topic, and any number of other components which are subscribed to this topic automatically receive the updates
This is done via the WAMP protocol (via the