We are pleased to present below all posts tagged with 'Internet of Things'. If you still can't find what you are looking for, try using the search box.
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 ...
In the last days, I saw some interesting things around the future of .Net Micro Framework … First, a post in the GHI Electronics community forum that speaks about the 2014 plan for .Net Gadgeteer. Gary, GHI employee, says : We have some very exciting news to share with you today. First of all, we have been communicating your feedback to Microsoft and they have been very responsive. We can't share all the details yet but we can tell you that you will be very happy with what Microsoft will announce very soon. There are two main points about it : GHI reported to Microsoft all feedbacks by .Net Micro Framework and Gadgeteer users and I think with the objective to improve the framework; There are more details and news that Microsoft will announce very soon, so in the next days (week ? months ?) we will have new official information about .Net Micro Framework future; Of course … the above are great points ! ...
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 !
In this post, we'll see how easy it is to execute GnatMQ, the MQTT broker for .NET Framework, in the Cloud using the Microsoft Azure platform. The execution of the broker can be started through a Worker Role that is one of the "Cloud Services" offered by Microsoft. Create the Cloud Service In the "Server Explorer", click with the right button on "Windows Azure" and "Connect to Windows Azure ..." and execute login using our Azure credentials(the ones we use in the online management portal). The "Server Explorer" refreshes and displays all the "Windows Azure" services currently active with our account (Cloud Services for web role and worker role, Service Bus with its namespaces, Virtual Machines and so on). Since our goal is to execute the GnatMQ broker in a worker role, we need to create a new "Cloud Services", right-clicking on it and selecting "Create Cloud Service ...". Select the subscription you want to associate the new service, the name and the region where it will be executed. The creation o ...
Development of M2Mqtt library continues .... now reached the version 3.3.0.0 ! This time the new features are related to two requests from people who are using it. First, I added more overloads for Connect() method, because from when I removed the default parameters (for compatibility with older versions of the .Net Framework) I left the more complex constructor that requires all parameters. Many people, not knowing well the MQTT protocol, found themselves in difficulty in deciding what values to pass to lesser known parameters (will message, clean session, ...). A further new feature concerns the client disconnected event (from the MQTT broker) that was requested on the official CodePlex web site. The MqttClient class exposes MqttMsgDisconnected event that is raised when a condition of connection failure with the broker is detected and typically in two cases : when there isn’t network traffic, when client sends the PINGREQ message (relative to the keep-alive) it doesn’t receive ...
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 ...