Servio does NOT respond to M-Search Queries (UPNP)

Issue #221 wontfix
Former user created an issue

Device Discovery my DMP/DMR's utilize UPNP M-SEARCH as a means to locate devices on the network. Servio is not responding to these queries:

M-SEARCH * HTTP/1.1 Host:239.255.255.250:1900 ST:upnp:rootdevice Man:"ssdp:discover" MX:3

M-SEARCH * HTTP/1.1 Host:239.255.255.250:1900 ST:root Man:"ssdp:discover" MX:3

Are example queries ALL devices MUST respond too.

Comments (4)

  1. Petr Nejedly repo owner

    can you post detailed log when the search request comes in? looking at the code, the first message (upnp:rootdevice) should be responded to, the other one (root) doesn't seem to be part of the spec:

    ST
    Required. Search Target. Must be one of the following. (cf. NT header in NOTIFY with ssdp:alive above.) Single URI.
    ssdp:all
    Search for all devices and services.
    upnp:rootdevice
    Search for root devices only.
    uuid:device-UUID
    Search for a particular device. Device UUID specified by UPnP vendor.
    urn:schemas-upnp-org:device:deviceType:v
    Search for any device of this type. Device type and version defined by UPnP Forum working committee.
    urn:schemas-upnp-org:service:serviceType:v
    Search for any service of this type. Service type and version defined by UPnP Forum working committee.
    urn:domain-name:device:deviceType:v
    Search for any device of this type. Domain name, device type and version defined by UPnP vendor. Period
    characters in the domain name must be replaced with hyphens in accordance with RFC 2141.
    urn:domain-name:service:serviceType:v
    Search for any service of this type. Domain name, service type and version defined by UPnP vendor. Period
    characters in the domain name must be replaced with hyphens in accordance with RFC 2141.
    
  2. Log in to comment