                 protocol: 'http:'
                 hostname: config['network']['http']['address']
                 port: config['network']['http']['port']
-                pathname: '/description.xml'
+                pathname: '/devices/root.xml'
             )
 
         # possible headers and values


    advertise (err, port) ->
        setInterval advertise, makeAdvDelay(), (err, port) ->
            callback err, "UPnP Device #{config['device']['uuid']} advertised on port #{port}"
        callback err, "UPnP Device #{config['device']['uuid']} advertised on port #{port}"

exports.start = start

dgram = require 'dgram'
url = require 'url'
event = require('events').EventEmitter
device = require './device'

event = new event

event.on 'ssdpMsg', (msg) ->
    console.log msg

# Initializes a UPnP Device
start = (config, callback) ->
