uint32_t EI_API_ADP_getPortEnable | ( | T * | pAdp_p, |
bool * | pPortEnable_p | ||
) |
Get the PortEnable attribute state of the timeSync object (Instance Attribute ID: 13).
Function that returns the PortEnable attribute by parameter pAdp_p
in output parameter pPortEnable
.
[in] | pAdp_p | Pointer to the adapter. |
[out] | pPortEnable_p | Pointer to a boolean that is set to true if PTP port is enabled and false if not. |
EI_API_ADP_eERR_OK | Success. |
EI_API_ADP_eERR_GENERAL | General error. |