Skip to content

CDTP: Timestamp & Sequence in Message Header

Simon Spannagel requested to merge cdtp_timestamp into main

This MR adds an additional 64-bit field to the message header of CDTP messages to indicate the message sequence number (something like an event id), added by the sender.

In addition, I have altered the text concerning the 64-bit timestamp such that it can either refer to the UNIX epoch time or a timestamp in nanoseconds from the start of the measurement.

I'd like to discuss this because

  • it changes the message header format compared to the other protocols
  • we limit ourselves to nanosecond precision on the header, everything else would have to be in the payload
  • it introduces the concept of "measurement" without specifying it

Opinions?

(the two changes were promted by a discussion with @lennart.huth)

Merge request reports