Nerves.SSDPClient

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.

Usage

Super Simple. Just invoke one funciton:

nodes = Nerves.SSDPClient.discover

See docs for SSDPClient.discover for optional parameters which will likely be useful.

Installation

If available in Hex, the package can be installed as:

  1. Add nerves_ssdp_client to your list of dependencies in mix.exs:

    def deps do
      [{:nerves_ssdp_client, "~> 0.0.1"}]
    end
  2. Ensure nerves_ssdp_client is started before your application:

    def application do
      [applications: [:nerves_ssdp_client]]
    end