PTP Profiles
TimeKeeper allows you to specify PTP profiles with the PTP_PROFILE configuration parameter. The only profile available with the PTP_PROFILE option is automotive.
The PTP_PROFILE option is available as a server or a source parameter.
Automotive
The automotive profile is based on the IEEE P802.1AS-Rev/D8.0 specification. Here is an example of how to configure a server:
SERVEPTP0 () { PTPSERVERVERSION='2'; PTP_PROFILE='automotive'; }
Here is an example of how to configure a source (that can communicate with the server above):
SOURCE0 () { PTPCLIENTVERSION='2'; PTP_PROFILE='automotive'; }
Please note the following limitations for the automotive profile:
- The automotive profile is only supported on Linux.
- To record layer 2 PTP packets with the VERBOSE_TCPDUMP option for the automotive profile, specify PTP_LAYER2=1; in the configuration. See the “PTP layer 2” section for more details.
Telecom
TimeKeeper supports the telecom profile (full unicast) but not with the PTP_PROFILE option. To specify the telecom profile, provide the address of the Grandmaster using the PTPSERVER option in the source definition.
Here is an example of how to configure a source to use the telecom profile:
SOURCE0 () { PTPCLIENTVERSION='2'; PTPSERVER='gm_hostname'; }
See the “IEEE 1588 (PTP) tips” section for more details.