our swiss φθηνα ρολογια are all in now.
This year I was pleased to be speaker at Mobile Camp 2015 organized by Microsoft in Naples; this year the event was focused on Windows 10 and all the awesome news from Build 2015.
As Microsoft MVP on Windows Embedded & IoT, my session was on Raspberry Pi 2 with Windows 10 IoT Core as embedded system and its connection to the Azure Event Hubs.
The simple demo showed the Raspberry Pi 2 sent temperature data (from an I2C temperature sensor) to the Event Hubs using my Azure SB Lite library (based on AMQP protocol).
You can find all the material on SlideShare (slide) and GitHub (demo source code).
A new use case for M2Mqtt library !! The case studies section of the official web site has a new great example usage !
Jon Gallant from Microsoft (IoT maker team) wrote an interesting article about his “maker experience” with a demo on using MQTT on a Raspberry Pi. In this scenario, he doesn’t use native C/C++ library available for MQTT but he made the great choice to use C# language and M2Mqtt library on Mono project !
The article describers all the steps to setup the entire demo from hardware to Mono installation on the Raspberry Pi and example code execution.
Great to see another M2Mqtt use case but this time on a Linux environment !
In the course of this tutorial we will see how it is possible to use the Raspberry Pi as a AMQP (Advanced Message Queuing Protocol) client and connect it to Windows Azure Service Bus that supports the AMQP version 1.0.
Obviously, the choice of the client library is almost forced : Apache Qpid Proton. This library developed in C still provides the bindings for other languages including Java, Python, and PHP but in the course of the article we will use only the native version.
Generally, the Raspberry Pi is used with the Raspbian (based on Debian) distribution which is a Linux distribution. This means that we can install the Qpid Proton library as we do on a normal Ubuntu distribution on a PC or on a virtual machine on Windows Azure.
Connect to the Raspberry Pi
All of the following operations can be performed by directly accessing the Raspberry Pi through a monitor, keyboard, and mouse connected to it or remotely through the use of SSH connection.
The latter solution is certainly the most convenient, usi ...
Read the rest of entry »
View this page in another language: