This is a very, very simple client for SSDP
SSDP stands for the Simple Service Discovery Protocol, which is device and service discovery protocol built on top of HTTPU.
Part of the Nerves framework, but can be also used standalone. The only dependency is Elixir.
Super Simple. Just invoke one funciton:
nodes = Nerves.SSDPClient.discover
See docs for SSDPClient.discover
for optional parameters which will likely be
useful.
If available in Hex, the package can be installed as:
- Add nerves_ssdp_client to your list of dependencies in
mix.exs
:
def deps do
[{:nerves_ssdp_client, "~> 0.1.0"}]
end
- Ensure nerves_ssdp_client is started before your application:
def application do
[extra_applications: [:nerves_ssdp_client]]
end