[discovery-api] what to put in service name

I am working on a platform that will have one same service running on 
all devices.
When discovering that service with the NSD API, the applications gets an 
array of NetworkService objects and want to discriminate between all of 
these.
Because this is on top of UPnP, and UPnP only has serviceID and 
serviceType, in my implementation of the NSD API, I wondered what to put 
in the service "name".
Now, I believe that the service "name" should contain the name of the 
device, so that the application can discriminate between all the 
services in the array above.
Or should I rely on looking into the hostname part of the "url" 
attribute (I would find this ugly) ?
Any hint, Rich ? What is your implementation doing ?
Should the spec be more specific about what is the "name" of the 
NetworkService object ?
Thanks
JC

-- 
JC Dufourd
Directeur d'Etudes/Professor
Groupe Multimedia/Multimedia Group
Traitement du Signal et Images/Signal and Image Processing
Telecom ParisTech, 37-39 rue Dareau, 75014 Paris, France
Tel: +33145817733 - Mob: +33677843843 - Fax: +33145817144

Received on Thursday, 22 November 2012 10:42:36 UTC