Paolo's blog entries

From the category archives: Paolo Patierno

.Net MF

M2Mqtt : added tracing support for the MQTT client

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 ...

Read the rest of entry »

.Net Micro Framework and Internet of Things : a quick tour on coming news and long term future

            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 ! ...

Read the rest of entry »

IoT@Work : Internet of Things event in Microsoft headquarters in Rome

  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. ...

Read the rest of entry »

M2Mqtt Case Study : MQTT and Azure Device Gateway

  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 ...

Read the rest of entry »

M2Mqtt Case Study : MQTT with .Net Gadgeteer platform

Cattura

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 !

Occhiolino

M2Mqtt and GnatMQ : the MQTT project for all .Net platforms has its official website !

 

Cattura

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 !

M2Mqtt : release 3.3.0.0 for MQTT client on .Net platform

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 ...

Read the rest of entry »

I’m Microsoft MVP for Windows Embedded !!

  Yesterday, my afternoon's work was interrupted by one of the most beautiful email that I could receive: I was nominated as a Microsoft MVP for Windows Embedded category ! This award is the result of my passion and desire to share my knowledge with other people that started in 2011, the year in which I began to follow events organized by my current regional community DotNetCampania, which are subsequently became a member. Kidnapped from the soul with which they were held events, I have decided to become an active part of it and my first thanks go to all those that are part of it, because it is thanks to them that I have received this award which of course is for all them ! Thanks to Cristina Gonzalez Herrero who is my MVP community lead starting from yesterday and who will follow me in this year to do better for the community. Thanks to all the Italians Windows Embedded MVP who believed in me. In the time order I first met them, thanks to Valter Minute, the first guru and symbol of the Microsoft e ...

Read the rest of entry »

Welcome to the Internet of Your Things !!

  Today is "born" a new dedicated website by Microsoft on the Internet of Things that talks about the Internet of Your Things and highlights that the IoT can be achieved by each of us with his own "things" that can interconnect with each other through the Cloud. On the website you can find all the information about this new (or already mature ?) project on which Microsoft is focusing its business using what is already good for the embedded world (all operating systems of the Windows Embedded family to which I would add the .NET Micro Framework) and joining it to the powerful of the Cloud (Microsoft Azure is well known). It's true what the new CEO Satya Nadella said with intention to want "a cloud for everyone , on every device" for which the #cloud4device can be understood in its most general main, not only smartphones and tablets but also devices and "things" that connect to the big network ! You can subscribe to a newsletter that will begin on July 1st, but ... maybe from that date ... we'll see ...

Read the rest of entry »

M2Mqtt : bug fix and new version 3.2.0.0

 

If using 3.1.0.0 version you realize that Connect and Disconnect events are not raised ... it is correct ... they are not handled in the client and you need to update the library or ignore them !

I released an update M2Mqtt library (version 3.2.0.0) that lays out this oversight.

Following the code merge between the M2Mqtt client library and the future GnatMQ broker I made the mistake of including the SUBSCRIBE, UNSUBSCRIBE, CONNECT and DISCONNECT messages handling also in the client (of course without any sense) with the corresponding events.

The update is available as always on Nuget and I proceeded to update the corresponding M2Mqtt4CE component for Windows Embedded Compact 2013.

Paolo Patierno's blog



View this page in another language:

Search blog

Archive

Turkish porno izle video site in rokettubeporno izle