How to validate connectivity to ethernet?
#1
Posted 29 December 2011 - 06:39 AM
#2
Posted 29 December 2011 - 06:51 AM
#3
Posted 29 December 2011 - 11:26 AM
Download page
As Colin said, try it with a static IP address if it doesn't work with DHCP.
Best regards
Cuno
#4
Posted 01 January 2012 - 02:46 AM
Confirm you have received an IP Address - better yet, set your Netduino to a static IP.
Then do a normal GET request, and work from there. There are examples on the forum, and in the SDK.
We got it working!
Start small, and work your way up - I have found that most of my issues have been RAM related.
You mean your app is too large to run in RAM?
Or ?
#5
Posted 01 January 2012 - 07:06 AM
You mean your app is too large to run in RAM? Or ?
I find that when the amount of free RAM gets lower than 32KB, network activity starts to fail more regularly - by no means a scientific measurement, just from observation.
#6
Posted 01 January 2012 - 07:31 AM
#7
Posted 01 January 2012 - 07:07 PM
I don't mean to beat Colin to the reply here, but I thought I'd help out...
The following function will force garbage collection and return the amount of free RAM:
int freemem = Debug.GC(true);
Chris
#8
Posted 03 January 2012 - 10:17 AM
Nice, didn't know thatThe following function will force garbage collection and return the amount of free RAM:
int freemem = Debug.GC(true);
@samjones: If you are interested in GET/POST methods to/from Netduino, have a look at my Webserver (look at my signature) or at Stephans HTTP Client http://forums.netdui...0244#entry20244...
I think you can get good ideas by looking at these projects =)
Greets, Markus
NeonMika.Webserver
> Control your N+ and write webservice methods easyily
> Receive data from you N+ (in XML or JSON)
> Browse the SD on your N+ directly in the browser and down - and upload files
If you need help with NeonMika.Webserver, please just leave a note in the thread and/or contact me via Skype
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
--- Mistakes teach you important lessons. Every time you make one, you are one step closer to your goal. ----
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users