W3C home > Mailing lists > Public > public-automotive@w3.org > June 2016

Draft Specification for Service Based Approach Using WebSockets

From: Crofts, Adam <acrofts1@jaguarlandrover.com>
Date: Mon, 6 Jun 2016 11:58:24 +0100
Message-ID: <CAA-gn2kjvpyBi1y1-Tq7hCXW1LKs_R3+Le9vej_TK74Ogazuaw@mail.gmail.com>
To: public-automotive <public-automotive@w3.org>
Cc: Kevin Gavigan <kgavigan@jaguarlandrover.com>, Peter Virk <pvirk1@jaguarlandrover.com>, Lovene Bhatia <lbhatia@jaguarlandrover.com>
Hi All,

Kevin and I have drafted a specification for the service based approach
using WebSockets, as discussed in Issue 81
<https://github.com/w3c/automotive/issues/81>. The draft can be found in
the working group wiki here
<https://www.w3.org/auto/wg/wiki/Vehicle_Information_Service_Specification#WebSocket_2>
.

The specification builds upon the approach raised by Powell Kinney, using a
single WebSocket to send JSON data structures to the server. The JSON
structure specifies the desired vehicle signal specification (VSS) path, an
action parameter to specify get, set, subscribe or unsubscribe as well as a
number of optional parameters.

This specification allows:

   - Use of the VSS, including wildcards and indexing
   - GET/SET over WebSocket
   - SUBSCRIBE to receive change notifications, allowing settable change
   thresholds and upper/lower bounds
   - SUBSCRIBE to receive notifications at a given time interval.
   - UNSUBSCRIBE via a subscription handle
   - UNSUBSCRIBE from all notifications
   - Security tokens to be passed from the client to the server, such as
   OAuth 2.0

We'll go through this on the call on Tuesday night and look forward to
hearing your thoughts.

Kind regards,

Adam

-- 
*Adam C*rofts *MEng (Hons) MIET*
Connected Infotainment
Vehicle Engineering
Tel: +44 (0) 1926 921607 | 87311607
Mob: +44 (0) 7790 094350
Desk: G03/054, Building 523, Gaydon
Mail Drop: G/26/3, Building 523, Gaydon



Jaguar Land Rover Limited
Registered Office: Abbey Road, Whitley, Coventry CV3 4LF
Registered in England No: 1672070

This e-mail and any attachments contain confidential information for a
specific individual and purpose.  The information is private and privileged
and intended solely for the use of the individual to whom it is addressed.
If you are not the intended recipient, please e-mail us immediately.  We
apologise for any inconvenience caused but you are hereby notified that any
disclosure, copying or distribution or the taking of any action in reliance
on the information contained herein is strictly prohibited.
Received on Monday, 6 June 2016 10:59:14 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 24 October 2017 18:52:50 UTC