Hi everyone,
Can someone explain me how set a static Ip address by code on Netduino 3 Eternet ?
Thank you
  | ||||||||||||||
4 replies to this topic
#1Posted 17 October 2015 - 09:01 AM Hi everyone,
Can someone explain me how set a static Ip address by code on Netduino 3 Eternet ?
Thank you #2Posted 19 October 2015 - 10:19 AM Anyone whit the same problem ?? #3Posted 22 October 2015 - 09:26 PM This works in N2+ using vb Imports Microsoft.SPOT.Net.NetworkInformation Dim interf = Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()(0)
interf.EnableStaticIP(StaticIPAddress, SubnetMask, GateWay)
interf.EnableStaticDns(New String() {GateWay, GateWay})
Hope this helps
#4Posted 28 December 2015 - 10:15 PM Has this been resolved yet?
I have a SmartThings integration project I need to get started and would love to use a Netduino3 Ethernet as a base - but it needs a static IP.
Please advise - thanks!
-David #5Posted 29 December 2015 - 01:57 AM The original poster of this question started several threads about it.
Please see this other thread for details.
http://forums.netdui...it-doesnt-work/
He wanted specifically to be able to set a static IP address at run time. If you don't need to do that (i.e. you're okay with setting it beforehand) you can just do so using the MFDeploy tool. - Ian
My Current Dev Boards:
Also tagged with one or more of these keywords: nework, ipaddress
0 user(s) are reading this topic0 members, 0 guests, 0 anonymous users | ||||||||||||||
|
||||||||||||||
This webpage is licensed under a Creative Commons Attribution-ShareAlike License. | ||||||||||||||