-
Notifications
You must be signed in to change notification settings - Fork 68
Sync Clock Protocol
Yannik Marchand edited this page Dec 25, 2023
·
2 revisions
The sync clock protocol provides a monotonic clock that is synchronized across all stations in the mesh. The clock is controlled by the host.
Every two seconds, the station sends the following message to the host:
Offset | Size | Description |
---|---|---|
0x0 | 8 | Current system tick |
0x8 | 8 | Always 0 |
The host sends the following reply:
Offset | Size | Description |
---|---|---|
0x0 | 8 | System tick copied from request |
0x8 | 8 | Synchronized clock in milliseconds |
The system tick is used to measure the round trip time. To reduce noise, Pia calculates the median of the last 10 measurements. The estimated round trip time is divided by two, and added to the received clock value.
- Home
-
NEX
- PRUDP Protocol
- RMC Protocol
-
NEX Services
- Common
- Nintendo
- Kerberos Authentication
- Hpp Server
- NPLN
- Pia
- Switch Servers
- Other Pages