View Source TpLink.Local.DiscoveryServer (tp_link v0.4.1)

A GenServer that discovers TP-Link devices on the local network. It works by periodically sending multicast UDP packets to all devices on the network and listening for responses.

Once discovered, a device will remain in the list indefinitely even if it goes offline. This may change in a future release of this library.

Errors may occur on certain version combinations of MacOS and Erlang/OTP. See this issue for details.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Returns a list of devices that have been discovered by the server.

Stops the server. See GenServer.stop/1.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Returns a list of devices that have been discovered by the server.

Starts the server. See GenServer.start_link/3.

Stops the server. See GenServer.stop/1.