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

Pass data to N+2 via ethernet?

netduino ethernet network internet http data

  • Please log in to reply
3 replies to this topic

#1 rabbitt

rabbitt

    New Member

  • Members
  • Pip
  • 2 posts

Posted 27 April 2013 - 10:23 AM

Hi!

 

I'm new here, have a netduino that's been lying around, waiting to do something cool with it, and was wondering what the best solution is to pass data via ethernet to my Netduino (Netduino Plus 2). Simple HTTP stack or alike?

 

I'm looking to run one of those little thermal printers (Adafruit) off of it and send shopping lists and such to it to print from a pc based app (vb.net because that's my go-to language for fun and tinkering), so I'd basically like to be able to pass a couple strings to the board for processing from a sub, maybe be able to get the IP address of the client at a stretch.

 

Can anyone point me towards a library that could be helpful? Thanks for your time, have a good day.



#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 27 April 2013 - 02:55 PM

Hi rabbit, Welcome to the Netduino community! There are several ways to accomplish this. The easiest is probably to use the HttpServer feature of NETMF; check out the HttpServer sample in the .NET MF SDK. There are also some good lightweight web servers created by community members...and you can always just create a socket server which responds to custom raw data requests. .NET MF is .NET, so System.Net is there for you. Does that get you pointed in the right direction? Chris
  • NooM likes this

#3 NooM

NooM

    Advanced Member

  • Members
  • PipPipPip
  • 490 posts
  • LocationAustria

Posted 27 April 2013 - 02:59 PM

for stuff like that id just use socket read and write, no http stuff.



#4 Nevyn

Nevyn

    Advanced Member

  • Members
  • PipPipPip
  • 1072 posts
  • LocationNorth Yorkshire, UK

Posted 27 April 2013 - 03:34 PM

I know it's not VB but I'd probably have a look at the NeonMika web server project.

 

Regards,

Mark


To be or not to be = 0xFF

 

Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life

Follow @nevynuk on Twitter






Also tagged with one or more of these keywords: netduino, ethernet, network, internet, http, data

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.