Type
Definitions
Description
Value | Description |
FEATURE_PTP_MODE_DISABLED | PTP is disabled |
FEATURE_PTP_MODE_AUTOMATIC | PTP state machine is running (see STATUS) |
FEATURE_PTP_MODE_SLAVE_ONLY | PTP state machine prevented from achieving MASTER |
FEATURE_PTP_PARAM_MODE is a whole number representing the enumerations shown above. This is the PTP parameter that can be set with a feature set (the other parameters are read-only). This parameter is used to disable (_MODE_DISABLED) or enable (_MODE_AUTOMATIC or __SLAVE_ONLY) the feature.
If the feature is enabled, then the PTP state machine is running, and the camera is participating in the network wide IEEE-1588 clock synchronization protocol. If the camera is in _MODE_SLAVE_ONLY, then the PTP state machine is not permitted to enter the _STATUS_MASTER or _STATUS_PREMASTER states – as such it cannot become the IEEE-1588 (grand)master clock.
Setting FEATURE_PTP with the flag FEATURE_FLAG_OFF has the same effect as setting the mode to _MODE_DISABLED.
Usage