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.

motta's Content

There have been 2 items by motta (Search limited from 19-April 23)


By content type

See this member's

Sort by                Order  

#9138 Simple Netduino Webserver

Posted by motta on 08 February 2011 - 12:46 AM in Netduino Plus 2 (and Netduino Plus 1)

Hi Chris, Thanks for reply. I upgraded firmware from v4.1.0.5 to v4.1.0.6 RC1. I moved Netduino Plus to another router, no traffic running, just device and micro. Ping drops now only 3% messages and Hari´s app can run concurrently with continuous ping -t. Some bad interaction exists since after ping was frozen for 4 timeouts, I activated web server reloading command http://10.10.10.200/led/0 and ping restarted running. Most pings took 1-2 ms but largest reached 2662 ms, 41ms average, still a wide range, isn´t? It´s ok the static network setup as shown below for both routers. Enabling DHCP did not succeed and IP result was 0.0.0.0. I will stay tuned for TCP/IP stack improvements. Motta ------------------------ NetworkInterface[] networkInterfaces = NetworkInterface.GetAllNetworkInterfaces(); foreach (NetworkInterface networkInterface in networkInterfaces) { //networkInterface.EnableStaticIP("192.168.10.200", "255.255.255.0", "192.168.10.254"); networkInterface.EnableStaticIP("10.10.10.200", "255.255.255.0", "10.10.10.1"); //networkInterface.EnableDhcp(); //networkInterface.RenewDhcpLease(); Debug.Print("Gateway Address: " + networkInterface.GatewayAddress); Debug.Print("IP Address: " + networkInterface.IPAddress); Debug.Print("Subnet mask " + networkInterface.SubnetMask); }



#9069 Simple Netduino Webserver

Posted by motta on 06 February 2011 - 02:11 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi. Great device, great IDE and nice job fom SecretLabs. I see many apps coming! I loaded Hari´s code to my new N+ and applied pathches to get static IP from yaksplat and also delay suggested by myszor. I´ve got same unstable results and sometimes N+ do not answer and browser got frozen. Another test may help to figure out what is happening: opening a DOS windows from a separate micro and running a continuous ping -t shows 20% loss due to a timeout which means that N+ is not answering ICMP as well. Any hints that help to fix this are welcome. Thanks




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.