Skip to content

[Proposal] Improve the JSON with a timestamp type #259

@nielsbasjes

Description

@nielsbasjes

In several models there are points that represent an instant (a moment in time) and which are always a 2 register uint32 which describe that instant as the number of seconds since 2000-01-01T00:00:00Z

From a code generation standpoint it is hard to see which of the fields are this.

Proposal: In the Json representation add a new value for type called timestamp which simply means that the 2 registers must be parsed as a uint32 and have the meaning of the number of seconds since 2000-01-01T00:00:00Z.

This proposal does not change anything the actual specification or what the devices are providing.
This is just an improvement in the way the specification is documented which will make using the specification easier.

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