-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from RADAR-CNS/external_time
Added external time source for the pRMT application
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"namespace": "org.radarcns.application", | ||
"type": "record", | ||
"name": "ApplicationExternalTime", | ||
"doc": "Timestamp from an external source.", | ||
"fields": [ | ||
{"name": "time", "type": "double", "doc": "device timestamp in UTC (s)"}, | ||
{"name": "timeReceived", "type": "double", "doc": "device receiver timestamp in UTC (s)"}, | ||
{"name": "externalTime", "type": "double", "doc": "timestamp in UTC according to an external source (s)", "default": "NaN"}, | ||
{"name": "host", "type": ["null", "string"], "doc": "hostname or IP address that time was polled from", "default": null}, | ||
{"name": "protocol", "type": {"name": "ExternalTimeProtocol", "type": "enum", "symbols": ["SNTP", "NTP"], "doc": "SNTP (Simple Network Time Protocol) synchronizes with a single server once, NTP (Network Time Protocol) may synchronize with multiple servers and derive some continuous measures."}, "doc": "protocol for external time synchronization", "default": "SNTP"}, | ||
{"name": "delay", "type": "double", "doc": "delay between sending and receiving a message from the host (s). The lower this delay, the more precise the external timestamp is expected to be.", "default": "NaN"} | ||
] | ||
} |