Nerves.SSDPClient v0.1.3 Nerves.SSDPClient
Implements a simple discovery client for SSDP, not the full UPNP spec.
- Supports M-SEARCH and gathering unicast responses.
- Does not support prolonged listens and gathered notifies at this time.
Summary
Functions
Issue an SSDP “M-SEARCH” request to the network, and listen for a bit for responses, reporting back discovered nodes in a hash
Functions
Issue an SSDP “M-SEARCH” request to the network, and listen for a bit for responses, reporting back discovered nodes in a hash.
Parameters is Dict with the following defined keyword atoms:
target
- the search target, as defined by the ssdp spec. Defaults to “ssdp:all”
seconds
- sent with the search request to tell nodes how long they have to
respond. Defaults to 2.
slack
- Number of milliseconds to wait after the seconds parameter for responses.
Defaults to 250, but can be set higher for high-latency networks