Skip to content

ghitchens/nerves_ssdp_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.1.0"}]
end
  1. Ensure nerves_ssdp_client is started before your application:
def application do
  [extra_applications: [:nerves_ssdp_client]]
end

About

Simple Service Discovery Protocol (SSDP) Client

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages