MQTT
This time, with great honor, I will be among the speakers of the Community Days 2014 to be held September 23 to 25 in Rome, after I was there more times as attendee in the past.
The honor will be double, because I will have the session with my dear friend Valter Minute that I recognized as the "Maradona" of embedded systems.
Our session entitled "Internet of Things: my washing machine connected to the Internet?" will be completely dedicated to IoT starting from embedded systems (Microsoft based) to the possible solutions in the Cloud, including the future project "Reykjavik" based on Azure and presented at Build 2014; the title tells the truth, among other things, we will have as its protagonist a washing machine (toy) !
You can find all the information concerning the agenda of the sessions and logistics on the official website in addition to the registration form.
We look forward to this event every year will not disappoint the expectations of those who participate !
It seems that I was on vacation (given the lack of posts on my blog) and it's the truth ! Despite the holiday, I continued the development of the M2Mqtt project and today I am pleased to release the new version 3.6.0.0 with WinRT support !! I made some changes on networking layer (from Socket to StreamSocket), thread (from Thread to Task) and security but finally the first MQTT client for all .Net platforms today also works on tablets with Windows 8.1 and on smartphones with Windows Phone 8.1. The new project, added in a Visual Studio 2013 solution, is a "portable class library" that I used and tested in a Universal App. The same for the "brother" GnatMQ, now in version (Beta) 0.9.2.0, thanks to which we have an MQTT broker to run on tablet and smartphone with Windows 8.1 OS family. Of course I updated the Nuget package by adding the assemblies for WinRT. I hope I did something useful f ...
Read the rest of entry »
The July 4th and 5th I was in Florence for the event Better Embedded 2014, the first Italian conference dedicated to the embedded world.
I was lucky and honored to be a speaker with a session on the Internet of Things entitled "Internet of Things: protocols war !" The event was attended by many people every year and has kept his expectations and I hope to be able to relive this experience again next year.
Regarding my slides you can find them on SlideShare.
This time the M2Mqtt library has undergone some "important" changes in terms of new features and bug fixing. I have to admit that the improvements are mainly due to the people who use it and report me to add new features or bugs to fix. In addition to several issues reported on CodePlex, this time also Clemens Vasters, PM on Microsoft Azure, submitted some improvements to be applied in the context of SSL / TLS authentication. In fact, as already tweeted several weeks ago, Clemens used my library to run tests on the Reykjavik project (Device Gateway) presented at Build in 2014 and I can only be honored. SSL/TLS authentication In this case, the improvement is closely related to the .Net Framework version, since it is the only version to support what has been added. In particular, the MqttClient class makes available other constructors which can provide the following callbacks : RemoteCertificateValidationCallback : allows the user to execute further checks on the validation of the ...
The M2Mqtt library is now at 3.4.0.0 release with the new tracing feature in debugging mode. The project has the new Trace class that exposes the static member TraceListener declared as the following delegate : 1: // delegate for writing trace 2: public delegate void WriteTrace(string format, params object args); In this way, it is possibile to chose our preferred tracing mode setting a method to this delegate. Furthermore, it is possibile to set the tracing level using thet static member TraceLevel with the following possible values : 1: /// <summary> 2: /// Tracing levels 3: /// </summary> 4: public enum TraceLevel 5: { 6: Error = 0x01, 7: Warning = 0x02, 8: Information = 0x04, 9: Verbose = 0x0F, 10: Frame = 0x10 11: } A simple example of tracing usage could be the following : 1: Trace.TraceLevel = MqttUtility.TraceLevel.Verbose | MqttUtility.TraceLevel.Frame; 2: Trace.T ...
This year, I will have the great pleasure and honor of being speaker at the only one educational Italian conference on embedded world, Better Embedded 2014, which will take place on 4 and 5 July in Florence at the Hotel Londra.
My session will be focused on the Internet of Things with a look at "war" between the main protocols used for it, such as HTTP (REST), AMQP, MQTT and CoAP (I'll add XMPP and DDS as soon as possibile after deep into them). The comparison between them will be literally on the field, so no more an introduction to the protocols themselves but more battles on different fields in which each protocol will try to get the better on the others.
There will be a winner ? To find out, you just need to subscribe to the event and come to follow my session !
Friday, June 6th IoT@Work event was held in Rome at the Microsoft headquarters and it was organized by the DomusDotNet community and the online TinyCLR.it community (of which I am member). Thanks to the hospitality of Massimo Bonanni and all the guys in the community, we spent an entire day dedicated to the Internet of Things. In the morning, Mirco Vanini started showing us what Internet of Things is and what it is not with a series of real use cases and future projections of this new business. The next session saw myself as the lead in tackling a technical point of view of main protocols that are used in the IoT, each with their own advantages and disadvantages. The morning sessions were completed by Lorenzo Maiorfi who spoke of "flow-programming", its application in the IoT and two main tools that can be used for this purpose: NodeRed and Orleans. ...
A new case study for M2Mqtt project and this time with a demo at one of the most important event in the United States, Visual Studio Live ! Rick G. Garibay, Microsoft Azure MVP, was speaker at the Visual Studio Live event in Chicago with two interesting sessions including one dedicated to IoT with Microsoft Azure and entitled “From the Internet of Things to Intelligent Systems – A developer’s primer”. Rick has made a very interesting demo with Azure Device Gateway (also known as Reykjavik project) of which we have already heard at Build 2014; thanks to it we can connect multiple devices, through different protocols, in the Azure IoT world. Regarding the devices, the demo had an Arduino board and a Netduino Plus 2 board, connected to a RabbitMQ broker via the MQTT protocol. Obviously, the part relating to the .NET Micro Framework used the M2Mqtt library ! You can find all the materials related to this session on the official blog of Rick at the following link, the ...
Blake McNeill, Microsoft Developer Security MVP, has made a very interesting demo using the MQTT protocol with the .NET Gadgeteer platform !
Blake is one of my main fan that uses very often all the open source libraries that I made on CodePlex. This time, talking about MQTT protocol, he has used the M2Mqtt project !
On the official web site, I have just created a page dedicated to case studies for those who wish to share their experience, hobbistic or professional, with client and GnatMQ broker usage. Just contact me and I'll be happy to set up a page dedicated to your project !
The tutorial is well done and describes all the main features and potential of the protocol as well as highlight the simplicity with which it is possible to integrate and use my MQTT client.
You can’t miss it !
Finally, the M2Mqtt project, which includes the client library and the GnatMQ broker, has its official website !
In addition to a dedicated blog, there is a documentation section that currently contains the architecture description of the client library, the main advantages in using it and a simple application example. As for the broker, are the main features implemented and future.
In addition, the download section lists all the link to download the project (CodePlex, Nuget and Microsoft Code Gallery).
My objective is also to add a "case study" section with application examples, hobbistic or professional, and/or demos of those who are using the library and/or the broker. Obviously, anyone who wants to participate can contact through the contact section !
View this page in another language: