Update of "Upnp"

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.


Artifact ID: eebf650b48e2bfbed5b4fb6e9e35ef7b1d7dde24
Page Name:Upnp
Date: 2014-08-27 13:57:21
Original User: schelte

This package contains a number of modules that provide various parts of the functionality needed to perform upnp functions from Tcl.

The package depends on the following external packages:

The browser demo is designed to use icons from the Tango icon set.

The package provides the following modules:


The ssdp package provides the low level infrastructure for the discovery step of UPnP networking. It takes care of sending out advertisements, periodically refreshing them, and responding to searches.

The ssdp package creates an ssdp command with the following subcommands:

ssdp agent
Return a standard user agent string
ssdp detection <operation> <target> <cmdprefix>
Specify a cmdprefix to invoke when the specified target is advertised.
ssdp provide <struct>
Start advertising the specified device and service structure.
ssdp remove
Stop advertising and remove all advertised devices from the network.
ssdp search <target>
Initiate a search for a device or service.


The upnp package provides functionality for the higher layers of UPnP networking,

The upnp package creates a upnp command with the following subcommands:

upnp advertise <specfile> ?<base>?
Advertise devices and services described in the specified specfile.
upnp discover <target> ?<cmdprefix>?
Try to locate the specified device or service on the network. Also listen for any future providers of the device or service. When a device or service is located, the control functions advertised by the service or services of the device are created as commands in a unique namespace per device, named after the uuid of the device. When everything has been set up, the command prefix is invoked with the name of the namespace appended as an extra argument.
upnp revoke
Revoke all advertised devices and services.


The didl package provides functionality to facilitate the implementation of some UPnP services that exchange information in a DIDL-Lite XML structure.

The didl package creates a didl command with the following subcommands:

didl build <data>
Create a DIDL-Lite XML document from the data dict.
didl parse <doc>
Parse a DIDL-Lite XML document into a dict.