/api/aes67/ptp-info
Use the interface to obtain PTP service running information.
Request Mode
POST /api/aes67/ptp-info
Response Body
{
"status": 0,
"version": "PTPV2",
"priority1": 255,
"priority2": 255,
"domain": 0,
"gmid": "D0-C8-57-FF-FE-80-BD-5A",
"role": "Slaver",
"delay-mech": "E2E",
"announce": -2,
"sync": -1
}
Name | Description |
---|---|
status | 0 indicates that the request was accepted successfully. Refer to API Status Codes. |
version | PTP version, options are PTPV1, and PTPV2. |
priority1 | Priority 1 |
priority2 | Priority 2 |
domain | PTP domain range is [0,127] |
gmid | master's gmid |
role | PTP role can be master or slaver. Options are Auto, and Slaver. |
delay-mech | Delay mechanism. Options are E2E, and P2P. |
announce | Value range is [-3,1]. |
sync | Value range is [-3,1]. |