Internet Of Things
As we know, to be able to access to some Microsoft Azure services, there is the SAS (Shared Access Signature) Authentication by sending a token by which we get the rights to perform specific operations.
This token is obtained by building a string containing some information including the URI to access and the expiration time over which to calculate an HMAC (Hash Massage Authentication Code) withSHA256. The result of this hashing operation is encoded in Base64 and the result obtained is inserted in the token (Shared Access Signature) with an appropriate format.
The goal of this short post isn’t to describe the procedure for determining the token but to warn the user about the Base64 conversion functions provided by the .Net Micro Framework.
Read the rest of entry »
In the Internet of Things world and especially when we are going to protect the data transmitted by an embedded system from prying eyes through encryption algorithms (AES, DES, 3DES, RSA, ...) and with related network protocols (SSL, TLS , DTLS, ...), correct date/time on our board plays a fundamental role.
In fact, the encryption algorithms are strongly based on Pseudor-Random Number Generators (PRNG), which often needs to use the current date/time as a "seed" of the generation. Being pseudo-random generators and not real generators, it is important that for each system boot the "seed" is different otherwise the generated sequence is the same as the earlier boot and therefore predictable.
One of the biggest initiatives of 2014 was definitely the birth of DotNetPodcast, podcast completely in Italian and dedicated to Microsoft technologies. Guests are always of the highest level and earlier this year, I had the honor of being able to record an episode, completely dedicated to the Internet of Things and the development of IoT solutions using the .Net Micro Framework.
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 !
After about a month of work during my free time, it's finally time to release the new version of the M2Mqtt library (4.0.0.0) and the related GnatMQ broker (0.9.3.0 Beta) with the MQTT OASIS 3.1.1specification support (in addition to some bug fixes).
Did you join the Windows Developer Program for IoT and now you are waiting for the board or have ordered an Intel Galileo (Gen2) on which you will load the Windows image made available on the official website ? Are you waiting for the board but you are curious to know what are the components included in the Windows for IoT ?
There is a solution !
Thursday, October 23 there was in Naples the "Mobile Camp" organized by Microsoft with my community DotNetCampania and focused on the development on Windows Phone and Windows platforms.
Who knows the MQTT protocol, used in the Internet of Things market, also knows that the reference project for it is Paho of the Eclipse Foundation.
This project provides a lot of client implementations of MQTT in all main programming languages such as C/C++ (for Windows or Linux and for embedded systems), Java (J2SE and Android), JavaScript, Python and Go.
In this large list, until a few days ago, an implementation in C# usable on .Net and WinRT platforms was missing . This gap was filled with my M2Mqtt project that is now officially under Paho umbrella for which I’m officially a committer !
In December 2013, the Linux Foundation announced the AllSeen Alliance, a consortium dedicated to the development and innovation in the Internet of Things market in our homes and industrial environments.
One of the main features of an “object” in the Internet of Things world is its ability to exchange messages, sending data or receiving commands, as effectively and efficiently as possible. There are several standard protocols for this purpose but one of my favorites is MQTT.
View this page in another language: