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

Web Intents for local network services - Clarification on browser UPnP support

From: Nilsson, Claes1 <Claes1.Nilsson@sonymobile.com>
Date: Wed, 21 Mar 2012 08:59:37 +0100
To: "public-web-intents@w3.org" <public-web-intents@w3.org>, "public-device-apis@w3.org" <public-device-apis@w3.org>
CC: "Isberg, Anders" <Anders.Isberg@sonymobile.com>, "Edenbrandt, Anders" <Anders.Edenbrandt@sonymobile.com>, "Ekberg, Björn" <Bjorn.Ekberg@sonymobile.com>
Message-ID: <6DFA1B20D858A14488A66D6EEDF26AA35D66F6FF79@seldmbx03.corpusers.net>

Based on the questions I got related to the presentation ( http://www.w3.org/wiki/WebIntents/SonyMobile_-_Local_Network_Service_Discovery ) and demo ("Light bulb discovery and control) that I showed at the ongoing Shenzhen meeting I would like to clarify how I envision the browser's UPnP support should look like.

The "Light bulb" demo was run in the Chrome browser and we use a upnp plugin that provides a JS API . We are also experimenting with a similar API for the Android browser. This API provides a UPnP/SSDP search method with three parameters, service type, success callback and error callback. The success callback is invoked for each UPnP/SSDP service discovered or lost and all contains the received SSDP M-Search response headers. From the LOCATION header the Device/Service description document could be retrieved. Subsequent control communication with the service device is then performed by the Web Intents Client page or Service page (depending on UX and Service implementation solution used) through xhr or web sockets.

The "Light bulb" demo is implemented according the philosophy according to the 3rd option in my presentation, i.e. the Client page talks over postMessage with simple JSON commands, "toggle on/of", to the Service Page, which then sends UPnP commands to the "Light bulb" device.

Best regards


Claes Nilsson M.Sc.E.E
Master Engineer, Research
Technology Research - Advanced Application Lab

Sony Mobile Communications
 Phone:  +46 10 80 15178
Mobile: +46 705 56 68 78
Switchboard: +46 10 80 00000
E-Mail: mailto:claes1.nilsson@sonymobile.com<mailto:claes1.nilsson@sonyericsson.com>
Visiting Address; Nya Vattentornet
SE-221 88 LUND,
The information in this e-mail is confidential and may be legally privileged. It is intended solely for the named recipient(s) and access to this e-mail by anyone else is unauthorized. The views are those of the sender and not necessarily the views of Sony Ericsson and Sony Ericsson accepts responsibility or liability whatsoever or howsoever arising in connection with this e-mail.Any attachment(s) to this message has been checked for viruses, but please rely on your own virus checker and procedures. If you contact us by e-mail, we will store your name and address to facilitate communications. If you are not the intended recipient, please inform the sender by replying this transmission and delete the e-mail and any copies of it without disclosing it.

(image/gif attachment: image001.gif)

Received on Wednesday, 21 March 2012 08:00:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:32:35 UTC