I have been using this real world project to learn .netmf … however with a Cobra II Wifi and 4.3 , so has had some challenges …
I would appreciate some guidance
Which assembly do the sockets now reside in? System.Net.Sockets.Socket; no longer exists in 4.3??? And how do I go about tracing this for myself? So I can overcome similar problems myself in the future.
uPLibrary Azure … where do I get this and how do I add this to my solution?
Sockets come when you create a Gadgeteer project - and there’s a few things that happen behind the scenes that mean it’s probably the best way to get that capability… IF you need it that is But for a learning exercise I would use it (and then come back and ask about converting Gadgeteer code/drivers to netmf and mapping sockets to pins)
I am pretty sure http://ucloudy.codeplex.com/ is the project you want. Start by downloading that and checking it out - come back ask specific questions if you need
I have downloaded ucloudy and opened … not sure how I go about using it; the weather solution has this reference? I assume this references ucloudy but how?
// using uPLibrary.Cloud.WindowsAzure.MobileService;
if I clean the ucloudy 4.3 solution I get a lot of errors; if I build on the 4.2 is succeeds and then when I switch to 4.3 and build it succeeds, a bug in VS?
Example of 1 of the errors: I have made sure uplibrary is built with 4.3
Warning 1 The type ‘uPLibrary.Networking.Http.HttpBase’ in ‘c:\Users\woodcockr\Documents\Visual Studio 2013\Projects\uplibrary\uPLibrary\Networking\Http\HttpBase.cs’ conflicts with the imported type ‘uPLibrary.Networking.Http.HttpBase’ in ‘c:\Users\woodcockr\Documents\Visual Studio 2013\Projects\uplibrary\uPLibrary\bin\Debug\NetMf43\uPLibrary.dll’. Using the type defined in ‘c:\Users\woodcockr\Documents\Visual Studio 2013\Projects\uplibrary\uPLibrary\Networking\Http\HttpBase.cs’. c:\Users\woodcockr\Documents\Visual Studio 2013\Projects\uplibrary\uPLibrary\Networking\Http\HttpResponse.cs 8 33 uCloudyNetMf43
When deploying and debugging the board does not boot and start; if I try a zillion times eventually it runs … debug window does not show first debug Program Started… not a big issue but frustrating>
More important … Azure tells me I have connections; and data sent … but no data in the table. I cannot find any documentation for ucloudy. I do not get an exception; string result = myTable.Insert(lastestSensorData) returns what looks like the json string?