-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wide review for automotive APIs #239
Comments
The first review was done on th old obsolete spec, this spec was replaced by VISS: https://w3c.github.io/automotive/vehicle_data/vehicle_information_service.html So VIAS is spec on top of VISS. |
@PeterWinzell Thanks, maybe someone could remove it from the README.md or add note that the specification is obsolete / deprecated. |
Also the WG's home page at https://www.w3.org/auto/wg/ points to the obsolete spec. |
@anssiko , @alexshalamov , thanks for the comment and excuse me for confusion. The latest spec on which WG members are currently working is below VISS/VIAS editors draft. Editor's draft
Working Draft (or FPWD)
I think, homepage, wiki, github repo structures may be better to re-organize. |
I will be reviewing pages and making updates. Sorry for wasting your time Alex. My email to device sensors list included the link to what we were asking for review. |
@tguild no worries, I will check new APIs soon and report if I find something. |
I think this one should be closed. |
During Device and Sensors WG call, I've got an action point to review automotive specs with regards to generic sensor APIs, so far, I could't find good synergy points, however, found few issues that might need to be fixed (could be false positives 😄).
Vehicle Information Access API
Missing IDL definitions for many interfaces, Vehicle Interface, Zone Interface and other interfaces. For example, Navigator Interface can be defined as:
Unclear how Zone.equals works. Can the driver zone be different in two instances?
VehicleInterface Interface name can be confusing, since there is already Vehicle Interface. As the purpose of VehicleInterface Interface is to provide access to properties, maybe worth renaming it, e.g., to
VehicleProperty
.It is unclear what is the data type for resolved Promise from VehicleInterface.get(). Is it
Object
,Dictionary
orany
?Why
unsigned short
is used asVehicleSignalInterface.subscribe(...)
subscription id? Is it enough? What if it overflows?VehicleSignalInterface.unsubscribe(...)
what if invalid subscription id is provided?VehicleSignalInterface Interface maybe it would be better if developers would be able to use
VehicleProperty.get
VehicleProperty.set
and observe changes of a property.Data Availability and History interface
These interfaces should be somehow defined in VehicleInterface Interface, thru aggregation / inheritance.
Vehicle Data
It is unclear how to extend / define data types. Example is misleading,
Vehicle.whizzer
returnsVehicleSignalInterface
that is generic interface, yet, note says thatinterface Whizzer
is returned, which does not haveVehicleSignalInterface
in its inheritance tree.Vehicle Information API Specification
Is this specification up-to-date? Looks like Vehicle Data is a wrapper on top of Vehicle Information API Specification or Vehicle Signal Server Specification. Maybe, some explainer document or examples would be nice to have, to understand when and what API should be used.
Vehicle Signal Server Specification
It is unclear what is the benefit of this API comparing to Vehicle Information API Specification. Is it for clients that do not implement
VISClient
interface?The text was updated successfully, but these errors were encountered: