DDS-XRCE 1.0 FTF Avatar
  1. OMG Issue

DDSXRCE — New TIME submessage

  • Key: DDSXRCE-3
  • Status: open  
  • Source: eProsima ( Jaime Martin-Losa)
  • Summary:

    Some of the most extended clock synchronization protocol such as PTP or NTP require the exchange of multiple timestamp messages between the master and the slave.
    The current standard only supports the timestamp exchange using the `CREATE_CLIENT` and `STATUS_AGENT` submessages.
    For this reason, a new kind of submessage called `TIME` is purposed.

    This new `TIME` submessage, which could use the `stream_id` 0x00, requires the following changes in the IDL:

    ```
    enum SubmessageId

    { ยทยทยท @value(14) TIME }

    ;

    @extensibility(FINAL)
    struct TIME_Payload : Time_t {
    };
    ```

    An example of an XRCE message with a `TIME` submessage is shown below.

     0                   1                   2                   3
     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |   session_id  |   stream_id   |         sequence_nr           | 4
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |     TIME      |     flags     |       submessage_length       | 8
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |                          timestamp (s)                        | 12
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |                          timestamp (ns)                       | 16
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    
  • Reported: DDS-XRCE 1.0b1 — Tue, 15 Jan 2019 14:56 GMT
  • Updated: Mon, 1 Apr 2019 17:38 GMT
  • Attachments: