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.

HSven1611

Member Since 30 Apr 2015
Offline Last Active May 14 2017 01:20 PM
-----

Posts I've Made

In Topic: System.NullReferenceException occurred in Netduino.IP.LinkLayers.CC3100

21 January 2016 - 05:30 PM

Configuring the WiFi is done by using the MFDeploy tool. You'll have to connect to your Netduino first and then you are able to change it's network settings.

 

I don't have that stuff installed here so I cannot upload a screenshot. Sorry for that.

 

Regards

 

Sven


In Topic: Interrupt Port Ghosts

10 December 2015 - 03:14 PM

This might be an electrical problem. Can you upload a circuit diagram?

 

Regards

 

Sven


In Topic: UDP broadcast example?

14 October 2015 - 11:44 AM

 Socket Socket { get; set; }

        public UdpClient(int port)
        {
            LocalPort = port;
            try
            {
                Socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
                Socket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReuseAddress, true);

                IPEndPoint broadcastEndPoint = new IPEndPoint(System.Net.IPAddress.Any, LocalPort);

                Socket.Bind(broadcastEndPoint);
            }
            catch
            {
                throw;
            }

            new Thread(new ThreadStart(threadStartTarget)).Start();
        }

  public int Send(byte[] data, EndPoint endPoint)
        {
            return Socket.SendTo(data, endPoint);
        }

This works for me and should give you a good starting point.

You might have to use the broadcast IPEndPoint to send broadcast.


In Topic: v4.3 NetduinoGo.dll Has Bad References to v4.2 Assemblies

03 July 2015 - 06:43 AM

I'm using the Go! with the 4.2 Firmware and the 4.2 dlls. That works for me. Afaik the 4.3 Firmware ist still beta for the Go!.


In Topic: Sd Card read issues

25 June 2015 - 05:46 AM

As far as I know StreamReader.Peek "Returns the next available character but does not consume it." That is what MSDN sais.

 

You might want to use the EndOfStream Property. MSDN: "Gets a value that indicates whether the current stream position is at the end of the stream."

 

This should work (btw. I'm not really into VB so please excuse if I did not get the syntax correct)

While Not sr.EndOfStream
[...]

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.