Details
Description
The application shall be able to verify the requested sync parameters for validity before they are applied to the PTP stack through the PTP control interface.
The new API function shall be as follows:
uint32_t Ptp_CheckSyncParameterSet( PTP_SYNC_PARAMETERS_T* ptSyncParameters );
The function basically checks the following (which are mostly the limitations of the 2PS HAL):
- Sync0/1 interval must be in range of 5us <= interval <= 500ms
- Sync0/1 offset must be smaller than the respective interval
- Pulse length must be
- in range of 1us <= pulse length <= 500us
- smaller than the smallest Sync0/1 interval
- Sync 0 and 1 interval must be multiples/fractions of each other
Attachments
Issue Links
- relates to
-
PSEISV3-860 Update component PTP to V2.4.0.2
- Closed
-
PSEIP-786 [CIP Sync] Timesync Parameters attribute: Invalid values are accepted, lead to silent failure
- Closed
-
PSEIP-841 Update component PTP to V2.4.0.2
- Closed
-
PSEISV5-434 Update component PTP to V2.4.0.2
- Closed