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.
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.
I have just updated on CodePlex and Nuget my uPLibrary library (version 22.214.171.124), adding automatic detection of any IPv6 address to the HTTP client (HttpClient class) .
To determine the address class (AddressFamily), I implemented the '"Extension Method" GetAddressFamily () for the IPAddress class through the static class IPAddressUtility, needed only because the. NET Micro Framework does not itself provide the property AddressFamily in the IPAddress class.
1: public static AddressFamily GetAddressFamily(this IPAddress ipAddress)
3: return (ipAddress.ToString().IndexOf(':') != -1) ?
4: AddressFamily.InterNetworkV6 : AddressFamily.InterNetwork;
In this way, at the time of the creation of the socket, it is automatically set to the correct address family from the address to connect to.
1: // create socket and connect
2: this.socket = new Socket(
4: Sock ...
This is the time of a project completely dedicated to Cloud but always with the goal of providing additional functionality and capabilities to an embedded system.
uCloudy is a library that aims to provide a variety of clients for. NET Micro Framework to connect to the main cloud services. The first and for now only service supported in this first release is Windows Azure Mobile Services.
As we all know, Microsoft provides a set of SDK to take advantage of this service in Windows applications store, Windows Phone, iOS, Android and the Web I have tried to bring this functionality in embedded systems with. NET Micro Framework. All this has been made possible thanks to the RESTful interface that the mobile services provide for interfacing to them. Thanks to the HTTP client that I recently integrated into uPLibrary, I made a series of classes through which you can perform the four basic operations on the tables of mobile services: insert, update, delete, and query.
The client is implemented through th ...
I never stop and even now that I'm on vacation I still .... develop!
This time it's up to my uPLibrary I upgraded to version 2.0 (of course also on Nuget with support for three versions of the. NET Micro Framework 4.1 from 4.1 to the current 4.3) with a new component: an HTTP client.
All you're probably asking questions about why the need to rewrite an HTTP client whereas there are already thoroughly tested the HttpWebRequest and HttpWebResponse directly included. Net Micro Framework. The reason is that in some boards with low memory (see Netduino), the assemblies for these two classes are too large and working with streams they are under-performing. For this reason, I decided to create a simple client (any advice for its improvement is welcome) that uses directly the socket without any intermediate layer of abstraction (a concept that many times in embedded systems must be limited to improve performance).
The programming model is quite simple, as it involves the use of the HttpClient class that provides t ...
View this page in another language: