Skip to content

Instantly share code, notes, and snippets.

@brendonanderson
Last active September 7, 2017 21:33
Show Gist options
  • Save brendonanderson/9643074 to your computer and use it in GitHub Desktop.
Save brendonanderson/9643074 to your computer and use it in GitHub Desktop.
UPnP blog - example notifications
//router
HTTP/1.1 200 OK
CACHE-CONTROL: max-age=1801
DATE: Wed, 19 Mar 2014 08:33:08 GMT
EXT:
LOCATION: http://192.168.1.1:49152/wps_device.xml
SERVER: Unspecified, UPnP/1.0, Unspecified
ST: upnp:rootdevice
USN: uuid:bbbbbbb-aaaa-zzzz-yyyy-xxxxxxxxxx::upnp:rootdevice
//Chromecast
HTTP/1.1 200 OK
CACHE-CONTROL: max-age=1800
DATE: Wed, 19 Mar 2014 14:33:09 GMT
EXT:
LOCATION: http://192.168.1.136:8008/ssdp/device-desc.xml
OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
01-NLS: 11111111-2222-3333-4444-5555555555
SERVER: Linux/3.8.13, UPnP/1.0, Portable SDK for UPnP devices/1.6.18
X-User-Agent: redsonic
ST: upnp:rootdevice
USN: uuid:11111111-2222-3333-4444-555555555::upnp:rootdevice
BOOTID.UPNP.ORG: 125
CONFIGID.UPNP.ORG: 1
//WeMo
HTTP/1.1 200 OK
CACHE-CONTROL: max-age=86400
DATE: Wed, 19 Mar 2014 10:24:58 GMT
EXT:
LOCATION: http://192.168.1.120:49153/setup.xml
OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
01-NLS: 11111111-2222-2222-2222-3333333333
SERVER: Unspecified, UPnP/1.0, Unspecified
X-User-Agent: redsonic
ST: urn:Belkin:device:controllee:1
USN: uuid:Socket-1_0-11111111111::urn:Belkin:device:controllee:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment