This series enables the PTP Management Client (pmc) program to receive
push notifications. An example interactive session looks like this.

    set SUBSCRIBE_EVENTS_NP duration 600 NOTIFY_PORT_STATE on
    sending: SET SUBSCRIBE_EVENTS_NP

        a0369f.fffe.1c386c-0 seq 0 RESPONSE MANAGEMENT SUBSCRIBE_EVENTS_NP 
                duration          600
                NOTIFY_PORT_STATE on

        a0369f.fffe.1c386c-1 seq 0 RESPONSE MANAGEMENT PORT_DATA_SET 
                portIdentity            a0369f.fffe.1c386c-1
                portState               LISTENING
                logMinDelayReqInterval  0
                peerMeanPathDelay       0
                logAnnounceInterval     1
                announceReceiptTimeout  3
                logSyncInterval         0
                delayMechanism          1
                logMinPdelayReqInterval 0
                versionNumber           2
        a0369f.fffe.1c386c-1 seq 1 RESPONSE MANAGEMENT PORT_DATA_SET 
                portIdentity            a0369f.fffe.1c386c-1
                portState               MASTER
                logMinDelayReqInterval  0
                peerMeanPathDelay       0
                logAnnounceInterval     1
                announceReceiptTimeout  3
                logSyncInterval         0
                delayMechanism          1
                logMinPdelayReqInterval 0
                versionNumber           2
        ...

Richard Cochran (5):
  clock: Reply with correct payload length for SUBSCRIBE_EVENTS_NP
    queries.
  pmc: Move private macros back into their source files.
  pmc: Allow printing of the SUBSCRIBE_EVENTS_NP tlv.
  pmc: Subscribe to port state push notification events when requested.
  pmc: Allow multiple local subscribers.

 clock.c      |  4 ++--
 pmc.c        | 33 ++++++++++++++++++++++-----------
 pmc_common.c | 49 +++++++++++++++++++++++++++++++++++++++----------
 pmc_common.h |  6 ------
 4 files changed, 63 insertions(+), 29 deletions(-)

-- 
2.20.1



_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to