Standalone Client - UG1602

Enhanced PTP User Guide (UG1602)

Document ID
UG1602
Release Date
2024-12-19
Revision
1.2 English

A standalone sfptpdctl client is supplied:

  • In the RPM distribution, this client is located in /usr/sbin.
  • In the DEB distribution, this client is located in /usr/sbin.
  • In the tarball distribution, this client is located in the install directory.

To run, invoke with the desired control command:

sfptpdctl <command>

To select a sync module instance named ptpdomain1:

sfptpdctl selectinstance=ptpdomain1

Standalone Client Source Code

C source code for the standalone client is supplied as sfptpdctl.c:

  • In the RPM distribution, this source code is located in the /usr/share/doc/packages/sfptpd/examples directory.
  • In the DEB distribution, this source code is located in the /usr/share/doc/packages/sfptpd/examples directory.
  • In the tarball distribution, this source code is located in the examples subdirectory of the install directory.

To build, run make in that directory.