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.

wjousts

Member Since 28 Jul 2011
Offline Last Active Nov 07 2011 08:55 PM
-----

Posts I've Made

In Topic: Network configuration options

07 November 2011 - 04:31 PM

So looking at the NetworkInterface class, I have a couple of questions (the documentation on Microsoft's site isn't too informative). If I change the network settings during boot up, is it then necessary to force a reboot for the Netduino to pick up the changes (and if so, how do you do that). Second, if I use DHCP, is it necessary to do an explicit RenewDhcpLease? Third, the NetworkInterface class has an option for dynamic DNS, but in MFDeploy, I don't see an option for it. Is it actually supported by the Netduino, or should I just ignore it? And lastly, when configuring the NetworkInterface class, is there a specific order I should set things. For example, obviously if I check (from my config file) whether DHCP should be enabled, I can then skip IP address, gateway and subnet.

In Topic: Network configuration options

03 November 2011 - 03:09 PM

Hi wjousts,

You can change the configuration on the device using the NetworkInterface classes...

You can also make a tool for the PC which changes the network settings on the device. Just grab the source code for MFDeploy from the porting kit, and then use MFDeployEngine directly from your tool.

Chris


Thanks for the feedback Chris. I realized afterwards that you can, in fact, just distribute MFDeploy, it's explained in the REDIST.TXT file which files you actually need and for now, I think that'll do. Of course, I still need my other user to install the Netduino drivers first, so that's a bit of a limitation.

I think in the end, the easiest solution, the one that puts the least burden on the end user, would be to have a config file on the micro-SD card and have the Netduino read it in during it's boot sequence using the NetworkInterface class. This could then be easily changed by popping out the card, insert it in a regular PC and editing the file. The tricky part there, however, is that I can't now hide the whole device in an enclosure. I have to leave access to the micro-SD reader.

In Topic: RS232 Advice

13 September 2011 - 07:50 PM

Does anybody know a good source for some kind of spacer?


To answer my own question, and in case anybody else needs them, I found this.

In Topic: Build Error 0xfd000000

07 September 2011 - 05:35 PM

Do you have a space or underscore in the assembly name (in AssemblyInfo.cs)?


Well stone me. That appears to have done it. Thanks.
What a silly restriction and what an unhelpful error message!

In Topic: ushort to byte[]

06 September 2011 - 07:34 PM

Also, haven't used it, but could try taking a look at:
http://forums.netdui...8-bitconverter/


Interesting. I can probably use some of that. I'm just a little nervous about the unsafe code not being official supported.

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.