Netduino home hardware projects downloads community

Jump to content


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

Netduino.IP in use


  • Please log in to reply
3 replies to this topic

#1 NameOfTheDragon

NameOfTheDragon

    Advanced Member

  • Members
  • PipPipPip
  • 112 posts
  • LocationCanterbury, Kent, UK

Posted 13 July 2015 - 06:08 AM

I thought you may enjoy this... I have hacked my Davis Vantage Pro 2 weather console so that I can hook the Netduino Plus 2 up to it. The Netduino sends network broadcasts using UDP every few seconds containing the current weather encoded in XML. The PC app listens for the broadcasts and can use the data - in this case I just display the inside temperature in a gauge control.

Attached File  FirstWeather.PNG   8.78KB   1 downloads

Attached File  DSCF4708.JPG   140.68KB   1 downloads

 

I found that when the netduino is just listening on a socket, then everything seems to lock up inexplicably after some time (an hour or so, maybe less). My code is heavily instrumented and yet I see no diagnostics when the lock-up has happened, so it hasn't closed the socket or thrown an exception, so I don't know why it stops working. However, this doesn't seem to happen any more now that I am occasionally sending UDP broadcasts on a worker thread. Odd! Any thoughts on that...?

 

--Tim Long



#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 13 July 2015 - 07:17 AM

Looks very cool.

Not sure what's going on there. This sounds like something where we need to whittle it down to a simple repro (to determine where the issue is happening--in Netduino.IP or in threading etc.)

It's very odd that it would run so long and just stop, in any case.

Chris

#3 NameOfTheDragon

NameOfTheDragon

    Advanced Member

  • Members
  • PipPipPip
  • 112 posts
  • LocationCanterbury, Kent, UK

Posted 14 July 2015 - 10:59 PM

I spoke too soon. The freeze is still happening. I have collected some data and I am posting into a new thread. I would appreciate your thoughts, Chris.

--Tim



#4 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 15 July 2015 - 01:03 AM

I spoke too soon. The freeze is still happening. I have collected some data and I am posting into a new thread. I would appreciate your thoughts, Chris.

And...responded (on the other thread). Thanks for all the data!

Chris




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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.