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$$
- 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.
(static) setup()
Define inputs and outputs.
(static) wrapup()
Upon wrapup, stop handling new inputs.