[Kde-hardware-devel] UPnP support in KDE

Armijn Hemel armijn at uulug.nl
Mon Aug 25 23:19:10 CEST 2008


On Sun, 2008-08-24 at 19:41 +0200, Fabrizio Montesi wrote:
> On Sunday 24 August 2008 18:13:53 Armijn Hemel wrote:
> > > That would translate in the following JOLIE pseudo-code (example):
> > > // Set the search parameters, like "I want a device supporting the full
> > > IGD profile"
> > > searchParams = ...;
> > > // Give me all the IGD services available. Discoverer is a service that
> > > will use HTTP-U
> > > getAvailableServices at Discoverer( searchParams )( result );
> > > // Use the first one found
> > > IGD << result.service[0];
> >
> > Risky :-)
> >
> > There might be more IGD devices on the network, so we might need to see
> > how we should handle that.
> Yes, and I think this is an interesting point. How do we choose among the 
> available services? Can we group them in some way by using the UPnP standard?

We can group them by profile, but I am not sure if that will be actually
helpful. Ah well, we can always try first, see if it works and then
ditch the idea :-)

armijn

-- 
-------------------------------------------------------------------------
armijn at uulug.nl | http://www.uulug.nl/ | UULug: Utrecht Linux Users Group
-------------------------------------------------------------------------



More information about the Kde-hardware-devel mailing list