Type


Definitions


Description


ValueDescription

FEATURE_PTP_STATUS_INITIALIZING

PTP state machine is initializing

FEATURE_PTP_STATUS_FAULTY

PTP state machine has detected the PTP port as faulty

FEATURE_PTP_STATUS_DISABLED

PTP state machine has (administratively) placed the port in Disabled state

FEATURE_PTP_STATUS_LISTENING

PTP state machine is waiting for reports from other state machines

FEATURE_PTP_STATUS_PREMASTER

PTP state machine is a Master candidate, and is waiting for reports from other state machines

FEATURE_PTP_STATUS_MASTER

PTP state machine has selected this port as the PTP master for the network

FEATURE_PTP_STATUS_PASSIVE

PTP state machine is not the master, nor is it synchronized to a master

FEATURE_PTP_STATUS_UNCALIBRATED

PTP state machine has identified a master, and this port is attempting to synchronize to it

FEATURE_PTP_STATUS_SLAVE

PTP state machine has selected this port as a slave to another (master) PTP state machine


FEATURE_PTP_PARAM_STATUS is a whole number representing the FEATURE_PTP_STATUS_ enumerations shown above. The parameter will report on the status of the PTP state machine when the user performs a get on this feature.


Steady state values of this parameter are _STATUS_FAULTY (the clock is not functioning properly), _STATUS_DISABLED (the camera’s default state, but is otherwise only gets to this state via user direction), _STATUS_SLAVE (this clock is the slave to the connected (maser) clock), and _STATUS_MASTER (this clock is a master to all subtended clocks, and given our camera is a IEEE-1588 ordinary clock, we must be the domain grandmaster clock).


Usage


PTP