Draft Specification for Service Based Approach Using WebSockets

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