- From: Jean-Claude Dufourd <jean-claude.dufourd@telecom-paristech.fr>
- Date: Wed, 05 Jun 2013 16:02:48 +0200
- To: public-device-apis@w3.org
- CC: "coltram@fokus.fraunhofer.de" <coltram@fokus.fraunhofer.de>
- Message-ID: <51AF4508.9030803@telecom-paristech.fr>
There is a new version of my NSD APIimplementation
<http://jcdufourd.wp.mines-telecom.fr/2013/05/15/network-service-discovery-api/>ongithub
<https://github.com/COLTRAM/nsd>.
New features are:
* implementation on top of socket.io in addition to WebSocket, so as
to allow the use with some smart TVs:
o start org.coltram.nsd.websocket.ConsoleApplication for a
WebSocket-based service,
and org.coltram.nsd.socketio.ConsoleApplication for the
socket.io based version.
o the webapps are almost identical: for WebSocket, include script
nsdLib.js; for socket.io, include socket.io.js and
nsdLibSocketIO.js, and that is it.
* implementation of a UPnP-style event mechanism, on top of both UPnP
and Bonjour
* exposing a service is simpler as there is no more need to provide
both an interface description and a service implementation. The
service implementation is automatically analysed to create an
interface description.
There are new samples for all variants. The names are self-explanatory:
* callBonjour.socketio.html
* callBonjour.websocket.html
* callBonjourEvent.socketio.html
* callUPnP.socketio.html
* callUPnP.websocket.html
* callUPnPEvent.socketio.html
* discovery.socketio.html
* discovery.websocket.html
* exposeBonjour.socketio.html
* exposeBonjour.websocket.html
* exposeBonjourEvent.socketio.html
* exposeUPnP.socketio.html
* exposeUPnP.websocket.html
* exposeUPnPEvent.socketio.html
The socket.io library used is netty-socketio (MIT license).
Here is abinary
<http://perso.telecom-paristech.fr/%7Edufourd/coltram/nsd/nsd-jar-with-dependencies.jar>version.
Best regards
JC
Le 17/5/13 14:28 , Jean-Claude Dufourd a écrit :
> As I mentioned in earlier emails, I have been working on an
> implementation of the Network Service Discovery API within the project
> COLTRAM, in collaboration with Fraunhofer FOKUS.
>
> It is an implementation of the current version of NSD on top of UPnP
> and Bonjour. The intention is to follow any changes to NSD, and to
> influence future feature additions.
> In particular, the implementation contains extensions to:
> - send messages to UPnP and Bonjour services,
> - expose UPnP or Bonjour services implemented by a webapp.
>
> It consists in a JavaScript library and a Java application.
> The JS library connects to the Java application (usually running on
> the same device) with WebSocket.
> The Java application does the discovery, messaging, advertizing, etc.
> This has been tested on Windows and MacOSX, with all major browsers.
> It should work in Linux.
>
> We have decided to open the source code of this implementation. It is
> now available on github.
>
> Implementation, compliance analysis, extensions description,
> installation, samples and links to source code are in this blog post:
>
> http://jcdufourd.wp.mines-telecom.fr/2013/05/15/network-service-discovery-api/
>
>
> Best regards
> 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
--
Télécom ParisTech <http://www.telecom-paristech.fr> *Jean-Claude DUFOURD*
Directeur d'études
Tél. : 01 45 81 77 33 37-39 rue Dareau
75014 Paris
Site web <http://www.telecom-paristech.fr>Twitter
<https://twitter.com/TelecomPTech>Facebook
<https://www.facebook.com/TelecomParisTech>Google+
<https://plus.google.com/111525064771175271294>Blog
<http://blogrecherche.wp.mines-telecom.fr>
Received on Wednesday, 5 June 2013 14:03:11 UTC