Hi Folks!
I am new to NetDuino and am diving in head first. I have the pdf "Getting Started with the Internet of Things" Chap 6 on Web Services. Per the author's instructions I can obtain the NetDuino MAC by running MFDeploy.exe/Target/Configuration/Network. I am supposed to see a network configuration dialog. Rather I jump immediately into a re-flash and a dialog never shows. Any idea of what is happening/corrections.
I found a code reference that doesn't work that is supposed to return MAC.
Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()[0].PhysicalAddress
There is no Net namespace.
I would appreciate any pointers as well as some good instruction on created web services.
Take care,
TomTheTeacher
Netduino Go Setting Up Web Services
Started by TomTheTeacher, Jul 12 2012 07:11 PM
5 replies to this topic
#1
Posted 12 July 2012 - 07:11 PM
#2
Posted 13 July 2012 - 01:24 AM
Are you missing an import? This works fine for me:
Microsoft.SPOT.Net.NetworkInformation.NetworkInterface networkInterface = Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()[0];
byte[] myMAC = networkInterface.PhysicalAddress;
#3
Posted 13 July 2012 - 01:26 AM
Oh, wait - on a Go how did you get an Ethernet connection? Those aren't out yet.
#4
Posted 13 July 2012 - 03:51 PM
Oh, wait - on a Go how did you get an Ethernet connection? Those aren't out yet.
Duh! I figured the obvious when I looked over my Arduino. I said I was new.
I am woking on a student project (ROV). I need Ethernet. What is the Ethernet module ETA? I presume I can use my Arduino hardware if pressed?
Thanks. I will post more thoughtout question/comments in the future.
#5
Posted 13 July 2012 - 04:11 PM
I believe the Ethernet module will be sent for a production run once the device has passed testing. There is a thread in the go forum, I believe that testing should be over in a week or 2 and a production run takes approx a month or so...
Nak
#6
Posted 13 July 2012 - 09:25 PM
Hi Tom,
If you're in a rush, you can use an ENC28J60 module and a Gadgeteer Extender module with Valkyrie-MT's mIP networking drivers. [Or Sytech's SD+Ethernet module in conjunction with mIP.]
Chris
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users