Skip to content
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

Editorial changes and fixes for Thomas Fossati's ARTART review #20

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

cabo
Copy link
Contributor

@cabo cabo commented Oct 9, 2023

Thank you!

Copy link

@thomas-fossati thomas-fossati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Comment on lines +97 to +110
start: ~Etime / null
end: ~Etime / null
? duration: ~Duration / null
])


clumsy-Period = #6.1003([
(start: ~Time,
((end: ~Time,
(start: ~Etime,
((end: ~Etime,
? duration: null) //
(end: null,
duration: ~Duration))) //
(start: null,
end: ~Time,
end: ~Etime,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Comment on lines +212 to +216
Superscript notation denotes exponentiation. For example, 2 to the
power of 64 is notated: 2<sup>64</sup>. In the plain-text rendition
of this specification, superscript notation is not available and
exponentiation therefore is rendered by the surrogate notation seen
here in the plain-text rendition.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -329,14 +332,15 @@ etime-detailed = ({
* (uint .feature "etime-critical-extension") => any
}) .within etime-framework
~~~

{: #tag-1001 title="CDDL definition of Tag 1001"}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better

@@ -309,7 +312,7 @@ This document does not define supplementary text keys.
A number of both unsigned and negative-integer keys are defined in
the following subsections.

A formal definition of Tag 1001 in CDDL is:
{{tag-1001}} provides a formal definition of Tag 1001 in CDDL.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, see 335 comment

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is 335 comment?

It does define how to use these representations with the extended
time format.)
additional map keys for the map that is the content of the tag (see
`etime-detailed` in {{tag-1001}}),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, see 335 comment

Comment on lines +258 to +259
of natural platform time formats. Some platforms use epoch-based
time formats that require some computation to convert them into the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking nit:

Suggested change
of natural platform time formats. Some platforms use epoch-based
time formats that require some computation to convert them into the
of natural platform time formats. Some platforms use epoch-based
time formats that require computation to convert them into the

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually like the qualification as to what amount of computation is needed (i.e., not much).

The time value indicated by the value under this key can be further
Key 1 indicates a base time value that is exactly like the data item that would
be tagged by CBOR tag 1 (POSIX time {{TIME_T}} as int or float).
As described above, the time value indicated by the value under this
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Keys 4 and 5 indicate a base time value and are like key 1, except that the data item is an array as
defined for CBOR tag 4 or 5, respectively.
This can be used to include a Decimal or Bigfloat epoch-based float
{{TIME_T}} in an extended time, e.g., to achieve higher resolution or to
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -447,7 +454,7 @@ used to determine the point in time.

The first three are analogous to `clock-quality-grouping` in
{{RFC8575}}, which is in turn based on the definitions in
{{IEEE1588-2008}}; two more are specific to this document.
{{IEEE1588-2008}}; the last two are specific to this document.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@cabo cabo merged commit 3fe7e2e into master Oct 10, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants