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.

Outthereman

Member Since 21 Jun 2012
Offline Last Active Mar 07 2014 03:41 AM
-----

#44404 Finding all Netduino Plus(s) on a network

Posted by Outthereman on 28 January 2013 - 06:47 PM

[color=rgb(34,34,34);font-family:Arial, 'sans-serif';font-size:10.5pt;]Hi[/color]
 

[color=rgb(34,34,34);font-family:Arial, 'sans-serif';font-size:10.5pt;]I have done a lot of work using the arp table and Mac addresses to discover devices on a network.[/color]

[color=rgb(34,34,34);font-family:Arial, 'sans-serif';font-size:10.5pt;]I found that unless the device has been accessed from that machine, the mac will not appear on that machine's arp list. So what i do is to run a IMCP ping to populate my arp table and then based on the first few digits get a list of devices (The first few digits is the registation for the vendor)[/color]

[color=rgb(34,34,34);font-family:Arial, 'sans-serif';font-size:10.5pt;] [/color]

[color=rgb(34,34,34);font-family:Arial, 'sans-serif';font-size:10.5pt;]if (ip.MacAddress.StartsWith("5c-86-4a-") == true)[/color]

 

[color=rgb(34,34,34);font-family:Arial, 'sans-serif';font-size:10.5pt;]{  [/color]

....

}

 

 

 


 




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.