- From: Junichi Hashimoto <xju-hashimoto@kddi.com>
- Date: Thu, 28 Jul 2016 16:13:27 -0700
- To: public-automotive@w3.org
- Message-ID: <9021d04c-818d-0cee-3e31-7955d97c9c89@kddi.com>
Hi All, I've write a part of possible implementation of vscs. It parses (bit modified) vss.json spec and re-builds a vehicle object model tree. For instance, it enables developers to access the state of front left door by: vehicle.Cabin.Door.Row1.Left.get(callback) or with using promise, vehicle.Cabin.Door.Row1.Left.get().then(callback). On this VMO tree, we could apply query search that we discussed at f2f. What I would like to propose for vscs by this poc is: 0. should be easy-to-use much as possible 1. use object chain instead of string so that IDE or debugger offers completion 2. should support Promise for 'get' and 'set' so that it will be easier to have access with more than two datapoints at a time Regards, Junichi -- <>------------------------------------------------<> au x HAKUTO MOON CHALLENGE http://au-hakuto.jp/ KDDI/au competing in the Google Lunar XPRIZE Providing communication technology support for the Japanese team - HAKUTO <>------------------------------------------------<>
Attachments
- text/html attachment: sample.html
- application/json attachment: vss_rel_1.json
Received on Thursday, 28 July 2016 23:14:02 UTC