Accessor: net/Discovery

net/Discovery

This accessor discovers devices on the local area network. It requires the discovery module. Please see: https://www.icyphy.org/accessors/wiki/Version0/Discovery

Version:
  • $$Id$$
Author:
  • Elizabeth Latronico (beth@berkeley.edu)
Source:
Inputs:
Name Type Description
hostIP string The IP address of the host. Used to discover other devices on the local area network.
Outputs:
Name Type Description
devices An object containing IP addresses and (when available) names and MAC addresses of devices on the local area network.
Parameters:
Name Type Description
useNmap boolean True if nmap should be used for discovery, false to use ping and arp. Default is false.

Methods

(static) initialize()

Upon receiving a host IP address, discover devices on the corresponding local area network.

Source:

(static) setup()

Define inputs and outputs.

Source:

(static) wrapup()

Upon wrapup, stop handling new inputs.

Source: