Netduino home hardware projects downloads community

Jump to content

The Netduino forums have been replaced by new forums at This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.


Member Since 09 Oct 2013
Offline Last Active Dec 22 2018 06:05 PM

#57777 Send data from netduino 2 plus to a Service with xml serialization

Posted by 401kill on 26 April 2014 - 11:47 PM

For my project (somewhat similar, N+2 reporting to a WCF web service), I tried to use DPWS. Sending a request worked fine, but  the firmware doesn't implement the XmlReader class, so DPWS can't deserialize the response. This might work for you if your service calls are one-way only.


As jrlyman3 said, XML generation is comparatively slow due to the verbosity of the language. I configured my WCF services to use JSON instead (exposed via RESTful URLs), and used Json.NetMF to (de)serialize the data sent / received.


I did eventually end up forking the library to strip out the bits that I didn't need, but its a good starting point.

#53741 EM-406 GPS works on Netduino but not Plus 2

Posted by 401kill on 30 October 2013 - 05:05 PM



I have a Sparkfun EM-406 GPS shield which is giving me some problems on a Netduino Plus 2.


It was originally working correctly on a classic Netduino, it gets a fix (even indoors) and the LED flashed to indicate this. The serial output was all good.


I have now moved to a Plus 2 unit instead, and the GPS never finds a fix. The LED stays solid indicating that it is seeking. The $GPGSV string is always $GPGSV,1,1,00*79, which I believe indicates that it can see one satellite. This would account for the fact that the time string it sends seems to be accurate.


My question is whether anyone has any experience of the EM-406 on a Plus 2, or if there is a difference in platform that may account for the behavior? From my own reading of various threads around the internet, I'm currently suspecting that the GPS is not able to draw enough current (data sheet says  it needs ~70mA IIRC).




home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.