Re: [Fwd: local device discovery - api, demo and source code]

Hi Dave,

Very interesting!

The flipside of discovery is advertisement. Are there any plans for a similar Javascript API for web applications to advertise themselves so that they can be found ?


On Apr 12, 2011, at 8:17 AM, Dave Raggett wrote:

Forwarding at Francois's suggestion.

(see also the W3C blog entry).
Dave Raggett <<>>

From: Dave Raggett <<>>
Date: April 12, 2011 8:10:09 AM PDT
To: "<>" <<>>
Subject: local device discovery - api, demo and source code

I have been working with Samsung in the EU webinos project and have
developed a demo of enabling browsers to discover local devices and
services via the local area network, Bluetooth and USB. The demo
involves a JavaScript object that allows you to invoke a variety of
discovery services (multicast DNS, SSDP, SLP, Bluetooth and USB). These
call back to methods on the object with information on each
device/service they discover.  The demo is available as open source
under the Apache2 license, but is currently limited to Linux based
systems, for more details, please see:

In case you are wondering how this relates to Web Introducers[1], the
above work is about discovering local devices and services. What devices
do you have at home? What devices are there when you visit a friend's
house? Devices can be switched on or off, and many are portable, so the
availability of devices is time dependent. By contrast, Web Introducer
is essentially a brokering mechanism for web page scripts to locate
cloud based services and as such the two are complementary.

Consumer electronics embed low level discovery protocols, and as a
result support for these protocols is very widely deployed. The aim is
to expose these protocols in an easy to use way for web page scripts, so
that web developers can create applications that span devices.


Dave Raggett <<>>

Received on Thursday, 14 April 2011 18:34:27 UTC