W3C home > Mailing lists > Public > public-automotive@w3.org > December 2019

Re: [Minutes] Auto WG call 2019-12-03

From: Ulf Bjorkengren <ulfbjorkengren@geotab.com>
Date: Tue, 3 Dec 2019 23:44:04 +0100
Message-ID: <CAHfMbK82i5JDsTXTgoLhjge+WnuJSttBHaa3ZOhppu6O4gUBJg@mail.gmail.com>
To: Ted Guild <ted@w3.org>
Cc: public-automotive <public-automotive@w3.org>
Here are the request examples from my demo.

******************  Websocket request examples ********************

Get request:
{"action":"get", "path":"Vehicle/Cabin/Door/Row1/Right/IsOpen",
"requestId":"234"}

Get request with search:
{"action":"get", "path":"Vehicle/Cabin/Door?$pathEQ*/*/IsOpen",
"requestId":"235"}

Service discovery request:
{"action":"get", "path":"Vehicle/Cabin/Door/Row1/Right?$specEQ0",
"requestId":"236"}

Set request:
{"action":"set", "path":"Vehicle/Cabin/Door/Row1/Right/IsOpen",
"value":"999", "requestId":"237"}

Subscribe request:
{"action":"subscribe",
"path":"Vehicle/Cabin/Door/Row1/Right/IsOpen?$intervalEQ2",
"requestId":"238"}
{"action":"subscribe", "path":"Vehicle/Cabin/Door/
Row1/Right/Shade/Position?$rangeGT15AND$changeGT5", "requestId":"239"}

Unsubscribe request:
{"action":"unsubscribe", "subscriptionId":"1", "requestId":"240"}



****************** HTTP request examples *************************

Get request:
HTTP GET
URL: Vehicle/Cabin/Door/Row1/Right/IsOpen

Get request with search:
HTTP GET
URL: Vehicle/Cabin/Door?$pathEQ*/*/IsOpen

Service discovery request:
HTTP GET
URL: Vehicle/Cabin/Door/Row1/Right?$specEQ0

Set request:
HTTP POST
URL: Vehicle/Cabin/Door/Row1/Right/IsOpen
Payload: 999

On Tue, Dec 3, 2019, 22:19 Ted Guild <ted@w3.org> wrote:

> https://www.w3.org/2019/12/03-auto-minutes
>
> --
> Ted Guild <ted@w3.org>
> W3C Automotive Lead
> https://www.w3.org/auto
>
>
Received on Tuesday, 3 December 2019 22:44:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:06:15 UTC