W3C home > Mailing lists > Public > public-device-apis@w3.org > August 2012

Re: Retrieve device information in Network Service Discovery draft

From: Rich Tibbett <richt@opera.com>
Date: Tue, 28 Aug 2012 14:45:25 +0200
Message-ID: <503CBD65.1080804@opera.com>
To: Jan Lindquist <jan.lindquist@ericsson.com>
CC: "public-device-apis@w3.org" <public-device-apis@w3.org>
Hi Jan,

Jan Lindquist wrote:
> Hello Rich,
>
> I enjoyed reviewing the latest draft “Network Service Discovery and
> Messaging”. My interpretation of the API is that it is strictly list of
> services provided without details of the device or “device descriptor”
> in UPnP terms. In the last example there is an example of how a drop
> down list of model can be used to select different devices. It is not
> clear how this is achieved with the given API since first attribute it
> simply “type”.

The user interface aspects of this proposal are intended to be handled 
by the browser. When you request a service type the browser knows all of 
the details about which devices implement that service and can provide a 
UI to allow users to select a share a subset of those devices - 
displaying the device name, icon, etc - with the requesting web page.

>
> My recommendation is to add a means to list the equivalent of UPnP
> device descriptor which includes information like friendly name,
> manufacturer, model name, model information, etc.

This is already supported via NetworkService.config. This returns the 
full device descriptor for the currently authorized network service. We 
are unsure if this is a strictly necessary attribute to expose on 
NetworkServices. It is certainly not necessary for device communication 
but it does provide some meta context (i.e. friendly name, manufacturer, 
model name, model information, etc as you requested above) to the 
service that has been provided.

>
> Best regards,
>
> JanL
>
Received on Tuesday, 28 August 2012 12:46:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 28 August 2012 12:46:05 GMT