DiscoveryResultMAC

This is a discovery result of a MAC discovery strategy. This class should not be instanced manually.

Extends

Properties

address

address: string

The (IP) address of the device.

Type

  • string

id

id: string

The identifier of the result.

Type

  • string

lastSeen

lastSeen: Date

When the device has been last discovered.

Type

  • Date

mac

mac: string

The MAC address of the device.

Type

  • string

Events

addressChanged

.on('addressChanged')

This event is fired when the address has changed.

Parameters

Name Type Description
discoveryResult
DiscoveryResult

lastSeenChanged

.on('lastSeenChanged')

This event is fired when the device has been seen again.

Parameters

Name Type Description
discoveryResult
DiscoveryResult