joao_ladeira - Viewing Profile: Posts - Netduino Forums
   
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.

joao_ladeira

Member Since 10 May 2013
Offline Last Active Feb 12 2016 10:51 PM
-----

Posts I've Made

In Topic: N3 Ethernet - it doesn't work

04 February 2016 - 05:20 PM

Yes, by mfdeploy you can set static IP, but still have a lot of problems .... for example the .Send method doesn't throw an exception if you detach the Lan Cable. So i spend other 3 days to try .. and when i finally used a N2+ everithing was OK.

Trust me, i already walked this way, if  you need Lan for your application use N2+ ... for the moment.

Thanks for your feedback Claudio.

I would rather have a microcontroller connected thru a lan cable but since ND3 is in this state and they don't sell any more the ND2 i will probably stick with the wifi and for this i already have a working alternative and its waaay cheap around 3€ (although you have to program it in c++ ), i really am starting to enjoy this one (ESP8266 NodeMCU v1.0) and since they have a plugin to Visual studio as well its less painful to write code, oh and it supports over the air update :) my system supports several micro-controllers and is able to do over the air updates (unfortunatelly the netduino does not supports this yet, at least in a proper way).

 

Thank you Claudio.


In Topic: Introducing Netduino 3 Ethernet

04 February 2016 - 11:34 AM

Have you confirmed that the Netduino 3 has successfully connected to your WiFi network (Green LED)?

 

There is a piece of code in the forums which shows you how to detect if you have a good connection.

 

Regards,

Mark

Hello Nevyn,

 

I the netduino that does not work is a ethernet one (ND3) so its connected thru a network cable.

I tried also with this code (wich i had in the past but sometimes it hangs so i just removed in my old netduinos...)

 

if (!Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()[0].IsDhcpEnabled)
{
// using static IP
while (!System.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable()) ; // wait for network connectivity
}
else
{
// using DHCP
while (IPAddress.GetDefaultLocalAddress() == IPAddress.Any) ; // wait for DHCP-allocated IP address
}

 

im not able to connect to my service using the code i posted above witch should be pretty straightforward (and my old netduinos and my new wifi 3 work with the same code...).

 

Thanks for your reply.


In Topic: N3 Ethernet - it doesn't work

04 February 2016 - 11:07 AM

I agree, i have old netduinos working in production and i needed more so i bought a nd3 to test before ordering all that i need and was hoping i get also some network issues ironed out but instead is the complete oposite...

I really dont have time to try and read all threads to see if someone found a way to make this work (like i did on the early days of the netduino 2 i see the history repeating again), i would like as you pointed out that someone from the support to tackle this issue.

 

As i understood you main problem was not being able to set up the static ip with code right?

If you configure with mfdeploy a static ip or even with dhcp are you able to use the sockets? Because i cant even establish a connection even if i configure with mfdeploy.


In Topic: Introducing Netduino 3 Ethernet

04 February 2016 - 10:20 AM

Hello - a useful approach for you to take would be to look into the code you have that DOES work on the Netduino 3 WiFi & Netduino Plus 2 and DOES NOT work on the Netduino 3 Ethernet and extract from that a SMALL piece of code that DEMONSTRATES the problem (complete with output from both).  Post your sample code here on the forums.  Consider starting a new forum thread rather than tacking onto ages old threads that are no longer current.

 

In addition, please post details of your development environment & what Netduino & .NET Micro Framework SDKs you have installed.  You'll find them listed on the Downloads page.  Visual Studio version?  .NET MF version?  Netduino SDK version?

 

With the above, members of the community are probably in a better position to help youfigure out what the problem is.

 

I can tell you that the Netduino 3 boards make use of a different TCP/IP protocol stack than what was on the Netduino Plus 2.  I think some functionality works differently.  With regard to the Netduino 3 WiFi & Netduino 3 Ethernet, they have DIFFERENT networking chips.  Consequently, I think there are some TCP/IP stack implementation differences that have arisen from that as well.

 

You posted in another thread about where you could return your device.  I think that would be to the company that you purchased it from, if it's within their return period.

Hi TecnoGuy,

Thank you for your reply, the piece of code that doesent work is pretty simple its just a socket connect...

 

IPEndPoint endpoint = new IPEndPoint(IPAddress.Parse("192.168.1.47"), 1951);

Socket clientSocket;

clientSocket.Connect(endpoint);

 

If i have time i will post a sample solution and post here when i get back from work.

My visual studio is the 2015 community edition, and i have all the latest sdk listed from the download page (since i formated my pc one month ago so i had to reinstall all the latest sdk) so they are working just fine with my other netduinos but not the ND ethernet 3 wich cant connect to my service runing on that ip address, i have the other two connected just now, and i even have a esp8622 (nodemcu) connected to my service (they all use the same communications protocol that i have developed).

 

Regards,

João.


In Topic: N3 Ethernet - it doesn't work

04 February 2016 - 12:46 AM

I just received one today and it doesent work!! how is this possible? to receive a microcontroller that does not work out of the box??

Where should i send this back, i yould like my money back, this is unacceptable to sell this without any stable version.

My old ND2 ethernet and my new wifi 3 work just fine, but my new ethernet 3 right now cannot do anything that is network related (wich is the main porpuse of this device...)

 

Have any of you managed to get this working in any way? i cant establish any tcp connection (with DHCP or Static ip) both dont work, im setting this using mfdeploy, i dont care if it is not possible to set the ip on code at least for now just want this to work as it should, or else dont sell this in this state...


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.