Yamaha MusicCast™ v0.2.2 MusicCast.UPnP.SSDPClient

A basic SSDP client module for UPnP discovery on the local network.

In order to discover MusicCast enabled devices on the network, the SSDP client broadcasts a search request on the mulicast address 239.255.255.250, port 1900.

Once the search request succeeds, MusicCast devices will announce themselves through the network and automatically start MusicCast.Network.Entity processes on the MusicCast.Network.

Summary

Functions

Broadcasts a SSDP M-SEARCH request on the local network

Starts a SSDP client as part of a supervision tree

Functions

discover()
discover() :: :ok

Broadcasts a SSDP M-SEARCH request on the local network.

start_link(options \\ [])
start_link(Keyword.t) :: GenServer.on_start

Starts a SSDP client as part of a supervision tree.

stop(pid, reason \\ :normal, timeout \\ :infinity)
stop(pid, term, timeout) :: :ok

Stops the SSDP client process.