I'm having the same issue as this question, but no one has solved it yet: Configure PTP_Timescale parameter
In Wireshark, from the master side, I am seeing Sync and Followup Messages being sent, but under the flags section of the PTP Message, only PTP_TWO_STEP
is 1. The rest of the flags are 0. It looks like this:
flags: 0x0200
0... .... .... .... = PTP_SECURITY: False
.0.. .... .... .... = PTP profile Specific 2: False
..0. .... .... .... = PTP profile Specific 1: False
.... .0.. .... .... = PTP_UNICAST: False
.... ..1. .... .... = PTP_TWO_STEP: True
.... ...0 .... .... = PTP_ALTERNATE_MASTER: False
.... .... ..0. .... = FREQUENCY_TRACEABLE: False
.... .... ...0 .... = TIME_TRACEABLE: False
.... .... .... 0... = PTP_TIMESCALE: False
.... .... .... .0.. = PTP_UTC_REASONABLE: False
.... .... .... ..0. = PTP_LI_59: False
.... .... .... ...0 = PTP_LI_61: False
I use pmc
to set the GM settings on the GM, in a different tab using:
sudo pmc -u -b 0 -t 1 "SET GRANDMASTER_SETTINGS_NP clockClass 248 \
clockAccuracy 0xfe offsetScaledLogVariance 0xffff \
currentUtcOffset 37 leap61 0 leap59 0 currentUtcOffsetValid 1 \
ptpTimescale 1 timeTraceable 1 frequencyTraceable 0 \
timeSource 0xa0"
But, when I restart ptp4l
and phc2sys
, and look at the packets being sent in Wireshark, I don't see the changes I made reflected in the flags. Any ideas?