Skip to content

Inconsistency: ts in setSuccessResponse but not in getSuccessResponse  #387

@SebastianSchildt

Description

@SebastianSchildt

We found that the response to set in websocket:
https://raw.githack.com/w3c/automotive/gh-pages/spec/VISSv2_Transport.html#wss-update
includes a timestamp (ts),

while the response to get does not
https://raw.githack.com/w3c/automotive/gh-pages/spec/VISSv2_Transport.html#wss-read-message

(only in datapoints)

If this is a bug, ts should be added to getSuccessResponse, otherwise maybe some explanatory wording why it si there in one case but not the other.

Additionally, I think it is never defined what the ts in general (error)messages should be. I assume just a VISS server timestamp, when it generated the message?

It would be a good addition to have JSON schemas for all messages. Currently in the transport spec, it seems only certain elements and the error responses are specified

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions