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.

Mercer

Member Since 16 Jan 2012
Offline Last Active Jan 01 2013 09:35 PM
-----

Topics I've Started

Unable to deploy using VS

08 December 2012 - 07:34 PM

I have successfully been able to write programs and download to my N2+, but after a program has been deployed, I am unable to debug again. Running MFDeploy I cannot ping the device. If I erase the device and reload the firmware, I can build and deploy another project, but I find myself in the same state again. It appears as if the N2+ is busy running the program I have previously downloaded. Also, when building the project in VS, if I remove the USB cable, my machine will blue screen and reboot. Any ideas what I am missing?

Support for UDP Multicast?

17 April 2012 - 03:50 AM

Is support for multicast planned? If so, can I use the SocketOptionName methods? I am looking forward to checking out the Netduino Go, but I need multicast support. The following is a segment of code I am currently using on the PC that I would like to port to the Netduino.

   NetworkInterface.EnableStaticIP(ip, subnet, gateway, mac);
   NetworkInterface.EnableStaticDns(new byte[] { 192, 168, 1, 1 });
   Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
   
   socket.SetSocketOption(SocketOptionLevel.IP, SocketOptionName.MulticastInterface, multicastIPAddress.GetAddressBytes());
   socket.SetSocketOption(SocketOptionLevel.IP, SocketOptionName.MulticastTimeToLive, 1);
   
   IPAddress DestinationIP = new IPAddress(new byte[] { 239, 255, 0, 1 });
   IPEndPoint DestinationEndPoint = new IPEndPoint(DestinationIP, 5568);

UTF8Encoding GetString

16 January 2012 - 12:49 AM

I am trying to perform the following, but System.Text.UTF8Encoding.GetString is not supported in the Microframework. UTF8Encoding val = new UTF8Encoding(); return val.GetString(bfr, offset, length); Is there another way to accomplish this task?

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.