uint32_t EI_API_ADP_setPtpEnable | ( | T * | pAdp_p, |
bool | ptpEnable_p | ||
) |
Enable or disable PTP functionality in the Time Sync Object of the current adapter (Instance Attribute ID: 1).
Function that sets the Time Sync object's PTP state.
Set_Attribute_Single
.[in] | pAdp_p | Pointer to the adapter. |
[in] | ptpEnable_p | Time Sync PTP state. |
EI_API_ADP_eERR_OK | Success. |
EI_API_ADP_eERR_GENERAL | General error. |