Crossbar.io is an open source networking platform for distributed and microservice applications. It implements the open Web Application Messaging Protocol, a useful tool when networking between IoT devices. In this lab, a simple template program is generated with crossbar.io - the node is activated and the application is sampled in the browser. Note - a facebook favicon was used in this lab, as the favicon file referenced in the lab powerpoint was not provided.
Figure 1: Installing necessary dependencies for the Crossbar.io lab
Figure 2: Installing crossbar.io and autobahn (version 18.4.1)
Figure 3: Creating the Hello app from crossbar command line tool
Figure 4: Running the crossbar node
Figure 5: Browser landing page for the Hello crossbar application
Figure 6: Frontend and Backend pages, with javascript console output shown
The Eclipse Paho project provides open-source client implementations of MQTT and MQTT-SN messaging protocols aimed at new, existing, and emerging applications for the Internet of Things (IoT). To test this system, several libraries were installed and several demo programs were executed below
Figure 7: Mosquitto was installed on the machine
Figure 8: Mosquitto service found to be running
Figure 9: Mosquitto_sub and mosquitto_pub commands were executed
Figure 10: Paho was installed on the machine
Figure 11: Provided sample programs were run
Figure 12: Final python demo programs are executed