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.
Photo

NetDuino Plus trying to connect to internet


  • Please log in to reply
1 reply to this topic

#1 boiacchi

boiacchi

    Member

  • Members
  • PipPip
  • 29 posts
  • LocationLondon

Posted 30 April 2014 - 08:10 PM

Hi All,

 

it is the first time that I'm using a Nedtuino Plus (I used the basic one ) and I was try to see if I can perform a Web Request call from it. To Achieve tried to ping www.google.co.uk and get the response back using the code below:

 

HttpWebRequest request = (HttpWebRequest)WebRequest.Create("http://www.google.co.uk");
        using (WebResponse response = request.GetResponse())
        {
            StreamReader reader = new StreamReader(response.GetResponseStream());
            string responseText = reader.ReadToEnd();
        }

 

When I debug it the code throw an exception when try to get the response but unfortunately it does not return much details.

 

My first thought has been : Is the board properly connected to internet ?

 

I'm using am Asus portable Router (WL-330n) which is correctly connected to my home WI-FI.

 

I have connected the netduino plus to it but it does not work.

 

I was trying the procedure showed here to change the network settings but when I try to update it returns "  unable to erase configuration sector memory"

 

 

I have already tried the procedure here but is does not work.

 

Any help please :-( ??

 

Thanks

 



#2 boiacchi

boiacchi

    Member

  • Members
  • PipPip
  • 29 posts
  • LocationLondon

Posted 01 May 2014 - 12:12 PM

Hi Guys,

 

I have fixed it. I was using MDDeploy 4.3 while the netduino plus was on 4.2. I have installed the netduino SDK 4.2 and it worked!

 

In regards internet connection I have manually set the ip address along with the subnet mask  and it worked too!

 

Please contact me if you step in the same issue and I'll try to help you






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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.