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

Re: Draft Specification for Service Based Approach Using WebSockets

From: Gavigan, Kevin <kgavigan@jaguarlandrover.com>
Date: Mon, 13 Jun 2016 09:55:56 +0100
Message-ID: <CAKaHsmeQqmChh4uiaUEjoiWRnY2XcOpfrVoWFqvC8b1m79Oq7A@mail.gmail.com>
To: Paul Boyes <Paul.Boyes@inrix.com>
Cc: Peter Winzell <Peter.Winzell@melcogot.com>, "Crofts, Adam" <acrofts1@jaguarlandrover.com>, public-automotive <public-automotive@w3.org>, Peter Virk <pvirk1@jaguarlandrover.com>, Lovene Bhatia <lbhatia@jaguarlandrover.com>, Rudolf Streif <rstreif@jaguarlandrover.com>, Powell Kinney <powell@vin.li>
Hi Gents,

I've updated the wiki spec to include an architecture diagram. It's based
on the one on the whiteboard at the F2F (but this only showed an onboard
web client accessing data, so have extended to include other types of
clients)

All feedback  or suggestions for improvement very much welcomed of course
:-).

With your agreement, we will modify the WebSocket section to include a
requestId that is passed from client to server on each call and which is
echoed back in the response (this was an idea proposed Rudi via email and
by Powell and Rudi on the call which will make it much easier for client to
link responses to requests)

Thanks and regards,

Kev

*Kevin Gavigan BSc, MSc, PhD, MCP, MCTS*
*Software Architect*
*Connected Infotainment*
*Electrical, Electronic and Software Engineering (EESE)*
Jaguar Land Rover


*Mobile: 07990 084866*
*Email:* kgavigan@jaguarlandrover.com

*Office address:*
GO03/057 • Building 523, Gaydon • Maildrop: (G03)
Jaguar Land Rover • Banbury Road • Gaydon • Warwick • CV35 0RR

On 7 June 2016 at 16:36, Gavigan, Kevin <kgavigan@jaguarlandrover.com>
wrote:

> Hi,
>
> I've updated the Security section to include some general points that
> apply to both WebSockets and RESTful web services:
>
>
> https://www.w3.org/auto/wg/wiki/Vehicle_Information_Service_Specification#Security_and_Privacy_Considerations
>
> Kind regards,
>
> Kevin
>
> *Kevin Gavigan BSc, MSc, PhD, MCP, MCTS*
> *Software Architect*
> *Connected Infotainment*
> *Electrical, Electronic and Software Engineering (EESE)*
> Jaguar Land Rover
>
>
> *Mobile: 07990 084866*
> *Email:* kgavigan@jaguarlandrover.com
>
> *Office address:*
> GO03/057 • Building 523, Gaydon • Maildrop: (G03)
> Jaguar Land Rover • Banbury Road • Gaydon • Warwick • CV35 0RR
>
> On 7 June 2016 at 14:18, Paul Boyes <Paul.Boyes@inrix.com> wrote:
>
>> Excellent indeed.  I will look at this in detail later today.
>>
>> *Paul J. Boyes* | INRIX | Director of Telematics and Standards - OpenCar
>>  |  206-276-9675 | paul.boyes@inrix.com <bryan@inrix.com> | www.inrix.com
>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.inrix.com_&d=BQMFAg&c=QbuapHRvbn0JdC8vTVkPHg&r=PRAN7lum5Ra662QLho8LU3bhFjBvLXn3bBkFbW0Amjo&m=V5l0WXfOEJwhcE0JsN06mQ5SQhpXL-DuAuK3YcnTZoc&s=OqQVi_DcS5rv8or8hZdFvY0re6YF0Wl-_8okxrxOF0w&e=>
>>
>> On Jun 7, 2016, at 3:56 AM, Peter Winzell <Peter.Winzell@melcogot.com>
>> wrote:
>>
>> Excellent !
>> I have just browsed through – Thank you for your hard work!!
>> /pw
>>
>> *From:* Crofts, Adam [mailto:acrofts1@jaguarlandrover.com
>> <acrofts1@jaguarlandrover.com>]
>> *Sent:* Monday, June 6, 2016 12:58 PM
>> *To:* public-automotive
>> *Cc:* Kevin Gavigan; Peter Virk; Lovene Bhatia
>> *Subject:* 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, 13 June 2016 08:56:45 UTC

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